-
Notifications
You must be signed in to change notification settings - Fork 75
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
Managing Failovers in the cluster #131
Comments
Hey 👋 ! First of all, thank you so much 👍 On the other hand, regarding the scenario you describe, using k8s and having that deployment strategy is pretty common, and it is true when you say it should not be an issue since you should have the SoR, but I agree the downside is that every time you deploy, the cached data will be lost.
I think it may be useful because as I mentioned before, it is a very common use case.
No, it is not in the roadmap. But this kind of feature can be implemented as a separate project, like an add-on. However, I think there are multiple ways to handle this, but let me start with something simple (not sure if that works for you).
There are other options, but I think they are more complicated, and honestly, not sure if they are worth it. For example, a snapshot manager using S3 maybe? But I think it is not that simple, especially when you have multiple instances. This could be an interesting add-on for Nebulex, but again, not sure if it's worth it. Perhaps we can continue the brainstorming, but in the meantime, see if the two simpler options above may work for you. Stay tuned! Thanks! |
Hi @cabol! Thank you for your fast answer. I believe there are several possible roads here in order to face this issue. I will have a thought in these days with my team and I'll come back with some other alternatives in order to keep brainstorming. Talk to you soon! |
I will close this issue for now since it has been opened a long time ago but feel free to reopen it in case you have some feedback or new thoughts, etc. Thanks! |
Hello guys!
First of all, I want to congratulate with you for the amazing job of this application.
In our use case, we use Kubernetes to deploy the application and we use the rolling strategy for managing new versions. The main idea is that every time a new version is released, old instances are shut down and new versions are spun up.
How to manage failover in this case? If one of the instances kept a state (some entries in the cache), all the data would be lost because it doesn't get transferred to other nodes of the cluster. This is not a major problem, since the data is still kept in the source of truth, but this would mean a reset of the cache every time a new version of the software is rolled out.
Do you believe this feature can actually be needed by the community? Do you already have it in the pipeline?
The text was updated successfully, but these errors were encountered: