|remote services, load balancing [message #625204]
||Mon, 19 April 2010 12:38
Registered: April 2010
I am trying to figure out how to integrate/implement a load balancing solution for declarative, automatically discoverable remote services.
I tried the examples
and they work just great.
I started several instances of hello.ds.host on different computers in a local network and they are successfully discovered (slp). A hello.ds.consumer instance can use the remote services (ecf generic).
Then I tried the examples
(btw thanks for the wiki page http://wiki.eclipse.org/Load_Balancing_Remote_Services).
They are also working fine, although I do not quite understand all the details. Could I kindly ask you to provide more details what is happening in DataProcessorServiceHostApplication (org.eclipse.ecf.examples.loadbalancing.servicehost)? LOAD_BALANCING_SERVICE_PROPERTY is mentioned in the code, also there is Constants.SERVICE_REGISTER_PROXY - I am a bit confused.
Generally my question is how can I integrated load balancing for remote services using ECF (and its implementations)? My best case would be to register (remote) services as in the org.eclipse.ecf.examples.remoteservices.hello.ds.* and then to "automagically" "turn on" the load balancing. Is this possible?
Sorry if my questions do not make sense, I'm pretty new to OSGI and ECF.
Thanks for the great work so far!
Powered by FUDForum
. Page generated in 0.02437 seconds