[wp-hackers] Allow Wordpress to use a Slave Database

howard chen howachen at gmail.com
Tue Jun 3 16:16:09 GMT 2008


On Wed, Jun 4, 2008 at 12:09 AM, Joseph Scott <joseph at randomnetworks.com> wrote:

> This was the idea I was considering:
>
>        - Be able to configure 1 (or more?  multi-master?) MySQL database
> that writes are sent to
>        - Define 1 or more (array) of MySQL database servers to send reads to
>        - This should require zero changes to queries, plugins, other core
> files/code beyond the database class and config info above
>
>

Hi Guy,

How about borrow the codes (or concept) from wikipedia, rather than
reinventing the wheel, they have a quite good database access modules
which is able to a lot of these stuffs such as load balancing, HA
ect...

http://www.scribd.com/doc/43868/Wikipedia-site-internals-workbook-2007
Page 16.

Howard


More information about the wp-hackers mailing list