-
Notifications
You must be signed in to change notification settings - Fork 30
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
how to improve high-availability when waitTillLeaderIsReadyOrStepDown #73
Comments
Hi thanks for your interests.
|
Thank you for your quickly apply. Yes, I'm talking about the second one. |
Our state machine takes advantage of rocksdb. EAL only write rocksdb, and CPL read from memory cache and same shared rockdb. |
Thank you, I get your design point. |
In practice, there is no extra EAL event to apply, since EAL should catch up with commited index. |
thank you. I get it |
Last question, how max tps can support in gringofts single group(just single group, not multi group)? Thank you |
the apply function should execute quickly, and it can execute quickly, since most heavy stuff has been handled in the process function, the apply just apply the processed result. |
Just curious, which industry are you in and what's your use case? |
It depends on several factors:
In our production, tps is around ~8K. |
If the leader needs to be really ready, it needs to apply all business data successfully after the election.
During this period of time, the leader cannot actually provide services. In Gringofts, the method waitTillLeaderIsReadyOrStepDown will be waiting.
If a lot of data needs to be applied, it will wait for a long time.
Does Gringofts have some high-availability solutions that can minimize the time when services are unavailable?
Thank you.
The text was updated successfully, but these errors were encountered: