[concurrency-interest] Performance improvement using ThreadPoolExecutor

Gregg Wonderly gregg at cytetech.com
Mon Apr 27 12:28:20 EDT 2009

Vishal Byakod wrote:
> I am writing an API( getObject()) which returns a java object from a
> cluster. The cluster can have multiple nodes and each node contains
> only and only one persistent queue. This API getObject()  needs to
> return one object from any one of the queues in the fastest possible
> time. The API is a part of a client runtime library which executes on
> the client JVM

There are existing technologies, such as Javaspaces which do this kind of thing 
really well.  Javaspaces has commercial as well as open source implementations. 
  You can look at the River apache podling, the blitz Javaspace by Dan Creswell 
and products such as gigaspaces.  Javaspaces is a very predominate player in the 
financial services market were time to "action" can cost you billions.

Gregg Wonderly

More information about the Concurrency-interest mailing list