Tag Archives: zeus

Load Balance by domain name

Wrote this little bit of TrafficScript for some clients today and published to the Joyent wiki. I think it’s pretty readable. $hostHeader = http.getHostHeader(); if( $hostHeader == “domain.com” || $hostHeader == “www.domain.com”){ pool.select( “domain.com-pool” ); } else if( $hostHeader == “another-domain.com” ){ pool.select( “another-domain.com-pool” ); Enjoy

Posted in Foundations, Technology | Tagged as: , , | Leave a comment

Scaling WordPress in the JoyentCloud Part 2

To continue building on the foundation of a single WordPress server implementation. In this article, I discuss how to bring in a second server and cluster them behind a Zeus Load Balancer. Here is a typical 2 webnode with database, I recommend a Master/Slave MySQL config, but for simplicity, I have just one pictured. Joyent […]

Posted in Foundations, Technology | Tagged as: , , , , , | Leave a comment