Skip to content

Create Initial Demo Setup #1709

@dnadales

Description

@dnadales

In this initial demo setup, we should connect an immdb-server to a cardano-node as its downstream peer, which is itself connected to another cardano-node as its downstream peer.

graph LR
    A[immdb-server] --> B[cardano-node 0]
    B[cardano-node 0] --> C[cardano-node 1]
Loading

The demo run terminates after the immdb-server has served all the blocks in the given ChainDB.

For this setup, we should develop a script that, given a URL (possible a file path) pointing to the benchmarking cluster run data, executes the processes described above until termination.

Next steps

After this demo setup is ready, the following steps are recommended:

  • Modify immdb-server to log the events we want to measure
  • Parse the logs and output the information to a file or standard output
  • Generate plots using the parsed output

Remember that for the primary measurement, we need to know:

  • When the upstream peer sent MsgRollForward to the node-under-test.
  • When the downstream peer received the corresponding block from the node-under-test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    🏗 In progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions