views:

21

answers:

0

how do you deal with transactions when you have master and slave db setup? typically i do all the reads from slaves and writes from master but when performing transactions, it seems i need to do reads from master (the one which is performing the transactions) and so i can't have all my transactions all in one place ...

im also using zend db multidb so i got a separate db instance for master and slave. whats the best way of approaching this?