[Seaside] ProxyPass and the P Option
Boris Popov
boris at deepcovelabs.com
Tue Nov 6 14:48:36 UTC 2007
Did you indicate to balancer how to determine sticky sessions? I think there's a setting for it.
Cheers!
-Boris
(Sent from a BlackBerry)
----- Original Message -----
From: seaside-bounces at lists.squeakfoundation.org <seaside-bounces at lists.squeakfoundation.org>
To: Seaside - general discussion <seaside at lists.squeakfoundation.org>
Sent: Tue Nov 06 04:36:02 2007
Subject: Re: [Seaside] ProxyPass and the P Option
As a matter of fact, Lukas, when I woke up this morning, I thought I should
gather some data. So I started tracking the Transcript. Here's what I found:
With ONE VM (9090) in the balancer cluster:
Initial page (typing http://www.goodsexnetwork.com)
/seaside/go/
Clicking on About Us
/seaside/go/?_k=LQeoPxhB&_s=GKpDhxmXUPTXvMES&5
/seaside/go/?_k=BeOXObFr&_s=GKpDhxmXUPTXvMES
Clicking on Services
/seaside/go/?_k=GcdAcWkd&_s=GKpDhxmXUPTXvMES&6
/seaside/go/?_k=ymJpsfHH&_s=GKpDhxmXUPTXvMES
Clicking on Registration/Login
/seaside/go/?_k=GBUIFPiq&_s=GKpDhxmXUPTXvMES&7
/seaside/go/?_k=FQErKPay&_s=GKpDhxmXUPTXvMES
Clicking on Contact Us
/seaside/go/?_k=LHOSwmFl&_s=GKpDhxmXUPTXvMES&9
/seaside/go/?_k=yqdTQvsk&_s=GKpDhxmXUPTXvMES
As you can see, the session number remains constant. My web app is working
perfectly!
With THREE VMs (9090, 9091, 9092):
Initial page
(9090)
/seaside/go/
Clicking on About Us
(9092)
/seaside/go/
(9091)
/seaside/go/?_k=HOPZQNPd&_s=AnxoaOgasUPcEfCp&5
Clicking on Services
(9091)
/seaside/go/
(9090)
/seaside/go/?_k=EWqdbkqZ&_s=LCdHsZYDEHKgRPJx&6
Clicking on Registration/Login
(9090)
/seaside/go/
(9092)
/seaside/go/?_k=MSKlyDVX&_s=IPsgzreQVBMvqmbr&7
Clicking on Contact Us
(9092)
/seaside/go/
(9091)
/seaside/go/?_k=dvMVcwbK&_s=EdWhWjDdMnBoRAPP&8
Clicking on About Us
(9091)
/seaside/go/
(9090)
/seaside/go/?_k=wscOnKIR&_s=YOTvBvZGLAwbxnlk&5
As you can see, what's happening when you have more than one VM in the
balancer cluster is that each time you click on a page, it starts a new
session! And in a different VM!
The succession of port numbers (9092/9091, 9091/9090, 9090/9092, 9092/9091,
9091/9090) suggests that the sessions are not sticky. The load balancer is
cycling through my VMs. But I'm the only user! I should only have one
session.
What is going on???
Regards,
Richard
-------
Did you observe access_log, error_log, rewrite_log, etc. of your
server? Did you consider adding some logging statements to the
Smalltalk web-server to see what comes in and what goes out?
Lukas
_______________________________________________
seaside mailing list
seaside at lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20071106/a75de35d/attachment.htm
More information about the seaside
mailing list