tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <>
Subject Re: How to send some requests to all tomcat cluster nodes from loadbalancer
Date Wed, 12 Sep 2012 12:11:58 GMT
On 12/09/2012 12:45, Orhan Karasakal wrote:
> Hi,
> I have a distrubuted cluster system. I have set up apache server and set
> loadbalancing (mod_jk) conditions. And also sticky session is true mode. Among
> nodes, there is no multicasting
> Is it possible that could I send some special requests (after request
> header control) or broadcast message to all tomcat cluster nodes ? Is there
> any rule or method ?
> Normally every request goes one node but for some special url, I want to
> send these requests to all cluster nodes. For example for some url,
> application should not be seen to user.
> Thanks for your help,
> Orhan Karasakal

That can't be supported by HTTP - how would the protocol handle sending
more than one HTTP response back to the requestor?

Design an alternative solution that uses a messaging system (perhaps JMS
or AMQP), or in which any member can relay the payload of the request to
other nodes one at a time.




View raw message