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

Baki Goxhaj banago at gmail.com
Fri Jan 28 17:44:58 UTC 2011


Will have a look at that, thanks!

Kindly,

Baki Goxhaj
www.wplancer.com | www.banago.info | proverbhunter.com


On 28 January 2011 18:41, Potkanski, Jason <jpotkanski at tribune.com> wrote:

> The significant advantage of Wordpress is its ability to scale
> horizontally. As traffic goes up, I can just provision more web servers and
> go.
>
> Implementing sessions requires one to either attach NFS, use one of the new
> php memcache or mysql session handlers or write our own implementation. In
> other words, the web server can't be "dumb" anymore, they have to be
> "smart." That introduces more potential points of failure and more
> complexity when trying to triage a performance problem in a production
> environment.
>
> http://www.tuxradar.com/practicalphp/10/1/3
>
>
>
> -----Original Message-----
> From: wp-hackers-bounces at lists.automattic.com [mailto:
> wp-hackers-bounces at lists.automattic.com] On Behalf Of Baki Goxhaj
> Sent: Thursday, January 27, 2011 2:29 PM
> To: wp-hackers at lists.automattic.com
> Subject: Re: [wp-hackers] Question about WP on load balanced cluster
>
> Just curious, Jason, what is wrong with sessions?
>
> On 1/27/11, Potkanski, Jason <jpotkanski at tribune.com> 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.
> >
> > Jason Potkanski
> > Release Lead, Application Developer
> > Tribune Technology, Back-End Support
> >
> >
> > On 27 Jan 2011, at 10:48, Adam Rifat wrote:
> >
> >> We are currently installing WP for use on our site. We have two web
> >> servers running IIS with a load balancer. At the moment we are just
> >> installing onto one server with the db on a separate server. I have
> >> searched but cannot find any definitive advice on how to go about
> >> configuring WP across two servers like this. The obvious problem is
> >> sessions and maintaining sessions between two separate servers. Is this
> an
> >> issue with WP and if so how can I resolve it? Is there a plugin or some
> >> other solution?
> >
> > WordPress don't using sessions so you don't need to maintain them between
> > servers.
> >
> > Running with a single database server and two web servers should be
> simple
> > to setup - just using the same wp-config.php file on both.
> >
> > Cheers
> > --
> > Peter Westwood
> > http://blog.ftwr.co.uk | http://westi.wordpress.com
> > C53C F8FC 8796 8508 88D6 C950 54F4 5DCD A834 01C5
> >
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> >
>
> --
> Sent from my mobile device
>
> Kindly,
>
> Baki Goxhaj
> www.wplancer.com | www.banago.info | proverbhunter.com
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list