Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@xadahiya
Copy link
Member

@xadahiya xadahiya commented Apr 19, 2023

Fixes Issues

Enhanced Architecture Overview

The revamped snapshotter employs an Event-driven architecture to generate snapshots, indexes, and aggregates (as per configuration), then submits them for consensus to the network.
Powerloom Mainnet Release-Overall architecture and jamboard(1)

Major Changes

  • Designed aggregator flow and configuration
  • Cleaned up snapshot generation process (removed failed epoch calculations)
  • Separated queues for Snapshot, Index, and Aggregation workers
  • Established Payload Commit service queue
  • Designed Payload Commit service message models and Finalized Event Forwarding
  • Enhanced Event Detector
  • Updated Protocol contract ABI to use the latest Event structure
  • Other cleanups and bug fixes

Settings Update

settings.example.json includes the following updates:

Additions

{
   ...,
  "rabbitmq": {
    ...,
    "setup": {
      ...,
      "commit_payload": {
        "exchange": "powerloom-backend-commit-payload"
      },
      ...
    }
  },
  ...,
  "aggregator_config_path": "pooler/static/aggregator.json",
  ...
}

Deletions

{
...,
"env": "<test/prod>",
...
}

@xadahiya xadahiya marked this pull request as ready for review April 21, 2023 14:30
@xadahiya xadahiya requested a review from anomit April 21, 2023 14:30
Copy link
Member

@anomit anomit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving as has been tested to be running stably for aggregation data points on staging systems

@xadahiya xadahiya merged commit 0150111 into onchain_pooler May 17, 2023
@xadahiya xadahiya mentioned this pull request May 30, 2023
3 tasks
@SwaroopH SwaroopH deleted the feat/aggregator_and_other_improvements branch July 27, 2023 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants