Martin Gainty wrote:
Andre

could you explain how mod_perl would handle routing capability to pass to tc 
instances?..could mod_perl accomplish the functionality of a load-balancer?

It certainly could, but you don't have to go that far.
A mod_perl module could handle the original request (be it SOAP or REST or whatever), then issue calls to whatever number of back-end Tomcats using whatever interface /they/ provide. There is no question of load-balancing here, you have to issue the requests to the back-end Tomcats sequentially, as far as I understand. Basically in this case, the mod_perl module could just issue Apache internal sub-requests, and let the normal Apache and connector mechanisms handle the details of the communication with Tomcat.

If you don't know mod_perl, think of it this way : it is just a convenient perl API to the core Apache functionality. You can use it to write add-on modules that intervene at each individual step of the Apache request processing cycle, or not, as you wish.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to