Re: MDB2 and replication / high availability

From: Date: Tue, 20 Jun 2006 07:14:49 +0000
Subject: Re: MDB2 and replication / high availability
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-43033@lists.php.net to get a copy of this message
Matthias Nothhaft wrote:
Hi, does it make sense to think about how to make 'storages' ready for replication or high availability? Does anyone have expierience with replication and MDB2? For example: is it useful to use two connections, one for read access (select -> slaves) and one for write access (insert/update/delete -> master)? Or is this a topic where portability is not possible?
Well its one of the things you usually setup transparently on the server and so it should not matter all that much to the API you use. It may however require changes to the application (along the lines if what you suggest with using 2 separate connections or some other approach). I suggest you take a look at the MediaWiki code. I think its probably the open source frontend code in PHP that gets to handle the most hists. They have some homegrown database access layer. regards, Lukas

« previous php.pear.dev (#43033) next »