No protocol flag for transaction aware load balancing
Note: This article was originally published at Planet PHP
on 3 June 2011.
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. ...


