Pages

Sunday, November 3, 2013

SOA coordination and service discovery with apache zookeeper

When you scale an application that operates as a service, you need to track the number of services, information about the web services you are offering , how many instances of the same web service etc...

Say for an example we have deployed many instances of the same service and they are distributed. Then a client wants to use the service and wants to use one instance to perform the request. Then you could use Apache zookeeper to auto discover all the instance and pick up one to get the result.

In simple terms what it does is coordination and service discovery. You could find a good simple example on how to do this using the following link.

http://www.javacodegeeks.com/2013/11/coordination-and-service-discovery-with-apache-zookeeper.html

A good explanation on this can be found using the following article.
http://zookeeper.apache.org/doc/trunk/zookeeperOver.html

Official site of the software is at
http://zookeeper.apache.org/

No comments:

Post a Comment