PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

No protocol flag for transaction aware load balancing

Note: This article was originally published at Planet PHP on 4 June 2011.
Planet PHP
The PHP replication and load balancing plugin has a configuration setting to run all transactions on the master. But how to detect the start of a transaction? I got a hint to look at a flag in the client-server protocol which tells us, if we are in a transaction. ...