Hello,
I have a cluster of 2 servers running on different JVM's in different geographical locations - US and IN.
My requirement is getting an ability to dispatch requests to specific servers based on client's location - If some one in US hits the cluster URL, he should be dispatched to the server in US.
W.r.t this I have following queries -
1. Do we have an ability to do load balancing based on clien't i/p in Apache
Tomcat? If yes, would appreciate if I get some pointers.
2. Secondly, if i can't do the former can I redirect client requests from server 1 - US to server 2 - IN before I hit any business logic in any of the servers. If that is possible I can have a
servlet in front that decides where to delegate requests to based on client i/p and then do the redirection?
Thanks,
JS