Hi, I'm new so be gentle.
I need to create a service that can scale by adding new servers running the service. This service is going to use Infinispan for caching and HotRod for the Client interface. The Infinispan's services will be running on their own independent server. This way I can scale both services independent of each other. That being said, on the Infinispan side I know JGroups should take care of the addition/subtraction of servers. My question is....
Is there a way to dynamically add/subtract servers from a HotRod Client. And if there is what would be the best way to be notified that there was an addition/subtraction in the Infinispan cluster?
The Hot Rod client automatically finds about new Hot Rod servers, you don't need to do anything. Each Hot Rod client has a topology view of the Hot Rod servers clustered. With each reply that's sent back to the client, if a new node joined, or a node left, a new topology is sent back to the client.