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

HA setup with Master and slave #109

Open
kannanvr opened this issue Apr 26, 2024 · 6 comments
Open

HA setup with Master and slave #109

kannanvr opened this issue Apr 26, 2024 · 6 comments

Comments

@kannanvr
Copy link

Hi All,
Is it possible to have the HA setup with Master and slave only for marmot?
If yes, Do you have any conf file to configure it. I have tried configure it. But I am unable to setup master and slave setup

Thanks,
Kannan V

@gedw99
Copy link

gedw99 commented May 5, 2024

Its possible but requires some code changes.

Why dont you want multi master ?

@kannanvr
Copy link
Author

kannanvr commented May 5, 2024

@gedw99 , Thanks for your reply. 2 master is possible also fine. Is it possible to configure 2 master configuration? How can it be done

@gedw99
Copy link

gedw99 commented May 5, 2024

Multi master is afaik how it automatically works mate .

@gedw99
Copy link

gedw99 commented May 15, 2024

@kannanvr

https://github.com/superfly/corrosion is another option.

It's SQLITE with multi master using Peer to peer, and does not need NATS at all and have a simple HTTP API. Under the hood it uses CRDT to do the data sync, as oppose to RAFT which NATS uses.

The only downside is that the SQL cant do joins as outlined here: superfly/corrosion#209

@kannanvr
Copy link
Author

Thanks for the suggestions.i will try sqltite

@gedw99
Copy link

gedw99 commented May 15, 2024

Happy to chat on telegram about how I use it . See my profile:)

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

2 participants