Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • The Primary is the server that keeps the information of all the pollers and it is where we can read all the information from. The Consumer (ophad running on Primary) reads data continuously off the message bus and stores it in the database

  • The Producer (ophad running on Pollers) has a change stream setup for the collections and recieves update from the database if there is any. This change stream data is pushed onto the message bus.

  • With Replication and Nats if the main-primary goes down the secondary primary will take over also if a poller goes down the mirror will take over.

image-20241108-042057.pngImage Added

Here are terms used in this project together with their meanings.

...