PECL/mysqlnd_ms: let web requests be your M/S load balancer
Wednesday, March 2nd, 2011Introducing the best load balancing policy for PECL/mysqlnd_ms: "random_once". A (PHP) web request is short-lived. A web server can handle multiple requests per second. There are many web servers running an application. For each web request choose a random slave to use for the rest of the request. Don’t do load […]
