LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: how do you maintain state on LVS'ed databases/shopping carts?

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: how do you maintain state on LVS'ed databases/shopping carts?
From: nick garratt <nick-lvs@xxxxxxxxxxxxxx>
Date: Wed, 12 May 2004 08:49:06 +0200
This discussion happens every so often on the list and, as always, I feel the need to mention the msession session service which we have been using very reliably for years:

http://www.mohawksoft.com/devel/msession.html


It's light-weight, fast and depending on the scripting language you use (we're using php4) it is very easy to implement.

Nick


Joseph Mack wrote:

We always tell people not to use cookies to maintain state.

However, what do people do, and how well does it work/what problems are there?

I'll put it all in the HOWTO.

Thanks Joe


I've been involved with a mid sized ecommerce company for about 4 years and we've had very few problems using cookies for state (storred in a single backend db.) Its fast and easy...

If the odd customer doesn't have cookies turned on then they are no great loss.

Putting the sessionid in the URL i.e. GET is ugly and slightly less secure.
I guess you could POST it on every page but would that be slower than cookies ? (I think so)



--
Regards,

Malcolm Turnbull

Loadbalancer.org Limited
07715 770523
http://www.loadbalancer.org/
_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://www.in-addr.de/mailman/listinfo/lvs-users

<Prev in Thread] Current Thread [Next in Thread>