-
Notifications
You must be signed in to change notification settings - Fork 16
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
Create a RemoteInfinispanClusterManager Option for Vert.x Clustering #75
Comments
Just found this on the Vert.x Roadmap:
Sounds very similar to my request here. Or at least serves the same use case. Interested to hear details. This is a blocker for me for a PoC I'd like to do for using Vert.x Clustering in a serverless context. |
@murphye thanks for sharing your use cases. Currently Infinispan is used for discovery/membership management so it must run in embedded mode, otherwise we can't have access to the underlying JGroups transport. In Vert.x 4.0, our priority is to adhere to the new clustering SPI (see #73) with the existing (embedded) implementation. After 4.0 is released, we want to look into an alternative cluster manager implementations for K8S. In addition to the memory footprint and startup time improvements, we're looking for flexibility because the current solution requires a lot of care from users scaling up/down pods or performing rolling upgrades. I haven't investigated much yet, but I had in mind that a user would:
Before that is possible, I need to talk with @karesti and the rest of the ISPN team to check if multimaps, counters and locks are all available remotely in ISPN 10. About using the same ISPN cluster for multiple Vert.x clusters, that sounds like a very good idea to me (again, it's less problems for the users). We need to take security into account though (a Vert.x node from app A must not be able to see async map data created by nodes in app B). |
Great info. I would be interested in having a conversation on this topic in the near future. |
Describe the feature
InfinispanClusterManager
enforces the use of Embedded Infinispan cluster (i.e.EmbeddedMultimapCacheManager
).By offering a
RemoteInfinispanClusterManager
that would give some flexibility for how Infinispan is deployed. This version would use different APIs (i.e.RemoteMultimapCacheManager
)Use cases
Looking to experiment with this for Serverless applications utilizing Vert.x Clustering.
Contribution
Would be a change to go along with the upgrade to Infinispan 10.
The text was updated successfully, but these errors were encountered: