Need design pattern advice

HI all,

Im trying to create a single router application that routes transactions to a number of Processing applications. Both applications reside on different machines. Upon system start up of the Processing application, the router will be notified and will register this application to its local registry.

When a transaction comes in, the router will redirect transactions to the processing applications depending on the processing applications load factor.

Im using jgroups and ha-jdbc to help me with group notification, how ever, i would like to know the best pattern to be used on Router applicaiton and Processing application.

Thanks in advance.

[682 byte] By [cinoda] at [2007-10-2 13:22:53]
# 1
check protocol router pattern @ http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/web-tier/web-tier5.html.
kilyasa at 2007-7-13 11:00:17 > top of Java-index,Other Topics,Patterns & OO Design...
# 2
Seems like this is a task better suited to hardware (a load balanced switch or router) than software.- Saish
Saisha at 2007-7-13 11:00:17 > top of Java-index,Other Topics,Patterns & OO Design...
# 3
Thanks for the reply, but routers are not capable of detecting the load of an application as well for the heart beat of the communication.Any thoughts?
cinoda at 2007-7-13 11:00:17 > top of Java-index,Other Topics,Patterns & OO Design...
# 4
How is your Java app doing so? CPU utilization is normally a native call. Memory utilization could be done in Java. I'd be curious to hear how you will attempt to determine load on a given JVM.- Saish
Saisha at 2007-7-13 11:00:17 > top of Java-index,Other Topics,Patterns & OO Design...
# 5
Yeah, by grabbing the native call of the CPU load and signalling th router to off load transactions to other Processing application was what i had in mine.
cinoda at 2007-7-13 11:00:17 > top of Java-index,Other Topics,Patterns & OO Design...
# 6

> Thanks for the reply, but routers are not capable of

> detecting the load of an application as well for the

> heart beat of the communication.

>

> Any thoughts?

an F5 will do exactly that:

http://www.f5.com/

better than anything you'll ever write.

%

duffymoa at 2007-7-13 11:00:17 > top of Java-index,Other Topics,Patterns & OO Design...