Monday, October 19, 2009

Load balancing remote services

Hi Folks,

The ECF wiki now has example code for doing dynamic load balancing of remote services.

This implementation uses a JMS Queue (via ActiveMQ implementation of JMS) to do the dynamic load balancing of ECF remote service requests/method invocations.

The thing that I like most about this is that it's extremely simple, small...and doesn't require any special/custom code to use. Clients/consumers just lookup/use a remote service, and upon usage the service implementation load balances the requests among an arbitrary set of target servers.

Monday, October 12, 2009

Saturday, October 10, 2009

ECF 3.1

ECF 3.1 is being released on Monday next (10/12/2009), and there are some exciting additions:

  1. REST API - An extension of the ECF remote services API to allow interoperation between OSGi remote services and REST-based services
  2. Distributed EventAdmin - a Distributed implementation of the OSGi EventAdmin service, that uses JMS/ActiveMQ for transport (and/or other providers)
  3. Lots of small improvements on ECF remote services, as well as examples and additional documentation
  4. File-based Discovery - a contribution from Siemens for doing remote service discovery using a static endpoint-URI exposed via an xml format
Here are the release review slides.