[UPHPU] load balanced file-based sessions
Nathan Lane
nathamberlane at gmail.com
Tue May 6 11:37:08 MDT 2008
So we use a session state server - separate from all of our production
servers to keep state. Our shop is ASP.Net, but could the same thing be
implemented easily using LAMP/WAMP?
Nathan
On Tue, May 6, 2008 at 11:00 AM, Joseph Scott <joseph at randomnetworks.com>
wrote:
>
> I'm not suggesting that either ( I must have done bad job explaining my
> position ). What I'm advocating for high traffic sites is sticking with the
> shared nothing approach that HTTP provides as much as possible. There are
> of course some minimal things that need to be done via cookies, like user
> validation, but that list should be very, very short and the exception, not
> the rule.
>
> Keeping session state in cookies isn't really much of option for variety
> of reasons (security, additional bandwidth, size limitations, etc). Doing
> session state on the server side is fine for smaller sites (will never grow
> beyond 1 web server), but is a pain for sites that have to scale out to
> handle lots of traffic/page views. That basic reason that it is a pain is
> keeping all of that data in sync across all of the potential web servers and
> data centers that your user might hit to access your site. In many respects
> keeping user state in sync is much more important than keeping your
> application data in sync (replication lag and such), because of the
> potential security implications.
>
> Avoiding session state for your high traffic site will make it easier to
> scale and reduce the number of things that you have to keep up and going and
> in (mostly) in sync. For high traffic sites they'll be plenty of other
> things to keep you busy :-)
>
> --
> Joseph Scott
> joseph at randomnetworks.com
> http://joseph.randomnetworks.com/
>
>
>
>
>
> _______________________________________________
>
> UPHPU mailing list
> UPHPU at uphpu.org
> http://uphpu.org/mailman/listinfo/uphpu
> IRC: #uphpu on irc.freenode.net
>
--
Nathan Lane
Home, http://www.nathandelane.com
Blog, http://nathandelane.blogspot.com
More information about the UPHPU
mailing list