On Thu, 17 Dec 2009, justin randell wrote:
hi
2009/12/17 Daniel Pittman <[email protected]>:
Use session affinity in your load balancer. ?No, really, with PHP it will
almost certainly hurt less. ?Sorry.
i'm interested in the war-wounds that made you write that ;-)
having setup share-nothing php-heads writing session data to a
database on several load-balanced architectures without any issues
(directly related to that technique, of course), that response seems a
bit blanket.
I doubt you will find anything much more exciting that the above, but I don't
actually have much useful reference material on hand at the moment.
i threatened to do a slug presentation on this some time ago, but
never came through with it. /me hangs his head in shame...
Hi,
I am doing N+1 horizontal scaling on Solaris blades.
It is the same principle.
We use it as a webfarm to serve vhosts via a single instance of
apache stack installed onto a NAS and shared across all the blades.
All the blades share the same configuration and data from the NAS.
The logs are written to locally on each blade. This lowers admin
overhead as the AMP stack can be locked away read only and a
vhosts.conf setup on the writable portions of the NAS to edited
and maintained.
We use PHP session caching and PHP acceleration to assist in content
handling. The concept is simple. Use the Content Switch to
supply Virtual IPs for each farm. Then add CNAMES to each VIP
that you have. The CNAME represents an Apache Name Virtual Host
and is addressed as such. There is no limit practically to how
many VIP and CNAME clusters you can serve this way. Limitation is SSL,
so we do termination on the Content switch - no SSL required on the blades
but you need to have a VIP per SSL instance.
This can also run shibbolised environments, tomcats, java stacks, mod_perl,
PHP etc.
--
Rachel Polanskis Kingswood, Greater Western Sydney, Australia
[email protected] http://www.zeta.org.au/~grove/grove.html
"The perversity of the Universe tends towards a maximum." - Finagle's Law
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html