Re: [General] New sandbox component idea

2003-11-13 Thread David Graham
Is Commons a place for web applications? I've always thought it was for small components to be used in web apps. David --- Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, I've written a tiny webapp to function as a load balancer. It is a rules-based balancer, rather than round-robyn or another

RE: [General] New sandbox component idea

2003-11-13 Thread Shapira, Yoav
PROTECTED] Sent: Thursday, November 13, 2003 12:21 PM To: Jakarta Commons Developers List Subject: Re: [General] New sandbox component idea Is Commons a place for web applications? I've always thought it was for small components to be used in web apps. David --- Shapira, Yoav [EMAIL PROTECTED] wrote

RE: [General] New sandbox component idea

2003-11-13 Thread Noel J. Bergman
I've written a tiny webapp to function as a load balancer. The way I've been using it is setting up a cluster of tomcat servers with some webapps, and another tomcat with this load balancer webapp in front which users access. Are you aware of: http://www.apache.org/~fhanik/

Re: [General] New sandbox component idea

2003-11-13 Thread Martin Cooper
On Thu, 13 Nov 2003, David Graham wrote: Is Commons a place for web applications? I've always thought it was for small components to be used in web apps. I agree that this doesn't feel right. Interestingly, our charter doesn't appear to preclude this kind of thing, and there is precedent,

RE: [General] New sandbox component idea

2003-11-13 Thread James Carman
, November 13, 2003 12:04 PM To: [EMAIL PROTECTED] Subject: [General] New sandbox component idea Hi, I've written a tiny webapp to function as a load balancer. It is a rules-based balancer, rather than round-robyn or another policy. Rules can be simple URL string matches, or more complex

RE: [General] New sandbox component idea

2003-11-13 Thread Shapira, Yoav
Howdy, Are you aware of: http://www.apache.org/~fhanik/ http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.html Yup, and I use them. This is a bit different, in two ways: - It's pure tomcat (or rather, pure servlet container, since there's nothing tomcat-specific), without

RE: [General] New sandbox component idea

2003-11-13 Thread Noel J. Bergman
Is Commons a place for web applications? I've always thought it was for small components to be used in web apps. This, of course, begs the question of where handy little servlets and filters should go. there is precedent, albeit comatose, in the sandbox 'filters' and 'servlet'

RE: [General] New sandbox component idea

2003-11-13 Thread Noel J. Bergman
Are you aware of: http://www.apache.org/~fhanik/ http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.html Yup, and I use them. This is a bit different, in two ways: - pure servlet container, since there's nothing tomcat-specific How are you handling session affinity and/or

RE: [General] New sandbox component idea

2003-11-13 Thread Shapira, Yoav
Howdy, Yup, and I use them. This is a bit different, in two ways: - pure servlet container, since there's nothing tomcat-specific How are you handling session affinity and/or migration? A simple way: the same rule will always redirect to the same server. So if the load balancer's

RE: [General] New sandbox component idea

2003-11-13 Thread Mike Stanley
you give an example in which this serves as a better load balancer than other alternatives? - Mike -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2003 1:33 PM To: Jakarta Commons Developers List Subject: RE: [General] New sandbox component

RE: [General] New sandbox component idea

2003-11-13 Thread Shapira, Yoav
Howdy, Rules based load balancer? Seems to me like this could need a load balancer of its own. Have you stress tested it? I'm not saying it can't be useful as a smart (policy based) redirector, but as a thin large scale load balancer the Servlet lifecycle may be a little heavier than

RE: [General] New sandbox component idea

2003-11-13 Thread Noel J. Bergman
Yup, and I use them. This is a bit different, in two ways: - pure servlet container, since there's nothing tomcat-specific How are you handling session affinity and/or migration? A simple way: the same rule will always redirect to the same server. OK. So that's one limitation compared to

RE: [General] New sandbox component idea

2003-11-13 Thread Shapira, Yoav
Howdy, Maybe your rules system could be factored out into a place where it could work with Filip's code. Don't know. Just encouraging you to talk with Filip. :-) I'll look into it ;) I'm thinking that it might be a good idea to have a WebApp Commons, either in Commons or as a separate