[wp-hackers] Question about WP on load balanced cluster

Brian Layman wp-hackers at thecodecave.com
Thu Jan 27 23:02:45 UTC 2011


On 1/27/2011 3:05 PM, Potkanski, Jason wrote:
> Just to add...
>
> I've seen many a plugin developer try and slip sessions into their code. Make sure to grep your codebase for "session_start" or any other such silliness.
>
> That said, if you do end up in that trap, some load balancers allow for "stickiness." The solutions get more complex from there, and since you guys are using IIS (why oh why), none of it would apply.
Amazon Load Balancers are among those that do. Even if you use 
stickiness, you might want to consider using a memcached pool for your 
sessions.  I've had it work well in production environments.  Google 
will show you it's just an edit or two and a restart to implement it at 
least on Apache.. IIS? well..

Brian.


More information about the wp-hackers mailing list