[Seaside] my site is completely dead..

Sven Van Caekenberghe sven at stfx.eu
Wed Jan 30 09:15:58 UTC 2013


On 30 Jan 2013, at 10:06, Francois Stephany <tulipe.moutarde at gmail.com> wrote:

> On 30/01/13 09:33, Sven Van Caekenberghe wrote:
>> - most of the time, I have multiple images under a load balancer, statefull or stateless, to improve availability and capacity
> 
> Stateful = session affinity?

Yes. With Seaside you have to, with pure Zinc you can but it is not the default.

If you reload http://zn.stfx.eu/status a couple of times, you will see the port changing (which means another member of the cluster is handling the request). If you reload http://zn.stfx.eu/session you will stay on the same cluster member (notice the session ID ending with a Route ID).

> Do you start images on-demand depending of the load or you let X images running all the time?

Right now, I do it statically: I just run 4 of them all the time.

One vm+image uses maybe 100 Mb, with current servers you get multiple GBs of RAM, that you can use for running multiple images, a db, memcached instances or other stuff.

Sven

--
Sven Van Caekenberghe
http://stfx.eu
Smalltalk is the Red Pill



More information about the seaside mailing list