I am working on distributed storage. I am implemented using Java EE. In my storage objects are replicated on multiple servers, and in case of any update on the server I need to distribute them to other replicas.
What is the best way to implement the same?
I am currently thinking of using JMS pub / sub to make my post asynchronous. But since each server is responsible for several objects, I need to subscribe to it with several topics (which can be dynamically changed).
Please let me know if this is possible in JMS.
source
share