Skip to content

Split registration and worker services into separate processes #365

@poszu

Description

@poszu

The Poet is split into registration and worker services in #355. However, both are part of the same binary. The task is to separate them to be able to run registration and worker in separate processes, potentially on different machines.

They should talk via a message queue on 2 topics:

  1. rounds
    • Registration writes data of a round it closed (epoch and membership root),
    • Worker listens for rounds to execute.
  2. proofs
    • Worker writes generated proofs,
    • Registration listens for new proofs.

💡 The option to run them together in a single process (aka a standalone mode) could probably stay for cloud deployments, go-sm unit- and system-tests etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    📋 Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions