java - How to route to the nearest RMI Server? -


Continuity of my question

I decided to maintain a centralized database and several slave server-databases Is the configuration I am planning to use to copy between slave and master database Each server-database configuration will be installed close to the client. Ideally I want to request the nearest slave server-database to the root from a client for the obvious reason. Since I am using RMI to connect to the server, I want to know that there is currently a product / API available, which will solve it?

Highly considered compared to any other solution given above:

Note: Refactoring the client code is definitely an option, but because this application is very much Bigger, it's a big threat (breaking existing code), time consuming & amp; Expensive

Take a look at distributed and consistent hashing:

< P> Beerbones, you will setup a type of continuous heaving that will take the customer's identifier (instead of 'key') and find the nearest server. The bonus advantage here is that if one of the slaves goes down, then your infrastructure keeps a transparent way on the next transparent server.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -