Re: Server affinity instead of session affinity

2010-11-24 Thread Mark Thomas
On 23/11/2010 23:34, André Warnier wrote: > Andrew Hole wrote: >> I'm reading about domain directive in worker properties. I can setup >> different workers to be in the same domain (p.e. a machine) and have >> "domain >> affinity". Do you have some idea how it really works? >> > > No, but it kind

Re: Server affinity instead of session affinity

2010-11-23 Thread Mario Kleinsasser
On Tue, Nov 23, 2010 at 10:01 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > André, > > On 11/23/2010 10:27 AM, André Warnier wrote: > > With the configuration below and your explanations, I suppose that there > > is some kind o

Re: Server affinity instead of session affinity

2010-11-23 Thread André Warnier
Andrew Hole wrote: I'm reading about domain directive in worker properties. I can setup different workers to be in the same domain (p.e. a machine) and have "domain affinity". Do you have some idea how it really works? No, but it kind of sounds like what you want to achieve, doesn't it ? You c

Re: Server affinity instead of session affinity

2010-11-23 Thread Andrew Hole
And regarding your question; ~Why can you not run all apps within one single JVM/Tomcat ? Because we have a lot of web applications and we are using 32-bit JVM. Thanks a lot On Tue, Nov 23, 2010 at 10:59 PM, Andrew Hole wrote: > I'm reading about domain directive in worker properties. I can set

Re: Server affinity instead of session affinity

2010-11-23 Thread Andrew Hole
I'm reading about domain directive in worker properties. I can setup different workers to be in the same domain (p.e. a machine) and have "domain affinity". Do you have some idea how it really works? Thanks On Tue, Nov 23, 2010 at 9:01 PM, Christopher Schultz < ch...@christopherschultz.net> wro

Re: Server affinity instead of session affinity

2010-11-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 11/23/2010 10:27 AM, André Warnier wrote: > With the configuration below and your explanations, I suppose that there > is some kind of load-balancing going on between the two machines. > What is used at the front-end to load-balance ? > > A

Re: Server affinity instead of session affinity

2010-11-23 Thread André Warnier
With the configuration below and your explanations, I suppose that there is some kind of load-balancing going on between the two machines. What is used at the front-end to load-balance ? An idea (for the moment vague) would be to use some intelligent front-end, which would decide (maybe as Mark

Re: Server affinity instead of session affinity

2010-11-23 Thread Mark Thomas
On 23/11/2010 14:41, Christopher Schultz wrote: > Mark, > > On 11/23/2010 5:12 AM, Mark Thomas wrote: >> On 23/11/2010 00:06, Andrew Hole wrote: >>> There is a middleware-to-middleware connection between Tomcat A and Tomcat B >>> using RMI (point-to-point protocol) and Tomcat A has in-memory data

Re: Server affinity instead of session affinity

2010-11-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 11/23/2010 5:12 AM, Mark Thomas wrote: > On 23/11/2010 00:06, Andrew Hole wrote: >> There is a middleware-to-middleware connection between Tomcat A and Tomcat B >> using RMI (point-to-point protocol) and Tomcat A has in-memory data useful >>

Re: Server affinity instead of session affinity

2010-11-23 Thread Mark Thomas
On 23/11/2010 00:06, Andrew Hole wrote: > There is a middleware-to-middleware connection between Tomcat A and Tomcat B > using RMI (point-to-point protocol) and Tomcat A has in-memory data useful > to App3. > The same aproach in the second server: applications in tomcat d have RMI > communication t

Re: Server affinity instead of session affinity

2010-11-22 Thread Andrew Hole
There is a middleware-to-middleware connection between Tomcat A and Tomcat B using RMI (point-to-point protocol) and Tomcat A has in-memory data useful to App3. The same aproach in the second server: applications in tomcat d have RMI communication to tomcat c. thanks On Mon, Nov 22, 2010 at 11:58

Re: Server affinity instead of session affinity

2010-11-22 Thread André Warnier
Andrew Hole wrote: Sorry for the inconvenience. I sent the email with wrong content. An example: Machine 1: Tomcat A App1 App2 Tomcat B App3 App4 Machine 2: Tomcat C App1 App2 Tomcat D App3 App4 Using session affinity, if I make a request to App1 and the Tomcat A in Machine 1 i

Re: Server affinity instead of session affinity

2010-11-22 Thread Andrew Hole
Sorry for the inconvenience. I sent the email with wrong content. An example: Machine 1: Tomcat A App1 App2 Tomcat B App3 App4 Machine 2: Tomcat C App1 App2 Tomcat D App3 App4 Using session affinity, if I make a request to App1 and the Tomcat A in Machine 1 is selected. All the s

Re: Server affinity instead of session affinity

2010-11-22 Thread Andrew Hole
An example: Machine 1: Tomcat A Tomcat B On Mon, Nov 22, 2010 at 11:05 PM, André Warnier wrote: > Andrew Hole wrote: > >> No... Session affinity (jvmRoute in JSESSION ID) implies sending to the >> same >> tomcat instance (same JVM), not for the same machine. >> >> I guess that I still don't ge

Re: Server affinity instead of session affinity

2010-11-22 Thread André Warnier
Andrew Hole wrote: No... Session affinity (jvmRoute in JSESSION ID) implies sending to the same tomcat instance (same JVM), not for the same machine. I guess that I still don't get it. The same Tomcat instance /is/, per definition, on the same machine. Or do you want to send the request to a /

Re: Server affinity instead of session affinity

2010-11-22 Thread Andrew Hole
No... Session affinity (jvmRoute in JSESSION ID) implies sending to the same tomcat instance (same JVM), not for the same machine. Some idea? On Mon, Nov 22, 2010 at 9:10 PM, André Warnier wrote: > Andrew Hole wrote: > >> Hi guys! >> >> There is any available configuration to define server aff

Re: Server affinity instead of session affinity

2010-11-22 Thread André Warnier
Andrew Hole wrote: Hi guys! There is any available configuration to define server affinity instead of session affinity? Our architecture setup is based on multiple JVMs (tomcat) instances in each server (machine). The goal is to send all requests (within a session) from a client browser to the s

RE: Server affinity instead of session affinity

2010-11-22 Thread Caldarale, Charles R
> From: Andrew Hole [mailto:andremailingl...@gmail.com] > Subject: Server affinity instead of session affinity > The goal is to send all requests (within a session) from a > client browser to the same machine. Is it possible to > perform it using jvmRoute? Can't you just set the jvmRoute value