Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

supporting setting up corvus on two or multiple nodes #11

Open
Harendra1974 opened this issue Sep 3, 2020 · 0 comments
Open

supporting setting up corvus on two or multiple nodes #11

Harendra1974 opened this issue Sep 3, 2020 · 0 comments

Comments

@Harendra1974
Copy link

as I understands, corvus supports running only on one node. running Corvus on multiple nodes (they all point to same database) causes to fail messages since each node corvus back end processes tries to process same message multiple time and fails.
could you please how this can be supported in Corvus.

i did following to support, but it supports only 2 nodes. I am fine with this for now.
this approach force to run outbox and Inbox processes in one node (master). only this node goes down, the other node takes the process and becomes the master.
introduced a table to store current master (where Inbox and OutBox task are runing) node IP.
if master is down, after defined delay time, other node becomes master.

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

No branches or pull requests

1 participant