Monday 28 April 2003 7:22:30 am
You need to configure the slave server in site.ini ( an override for your system ). The slave servers are used on read queries only. Write queries are sent to the main database server.
If more than one slave server is used in the setup eZ publish will just choose a random slave. The algorithm is as follows:
if ( $numberServers > 1 )
{
$index = rand( 1, $numberServers ) - 1;
}
else $index = 0; Pretty simple, for now. Yes, eZ publish will open one read and one write connection on the slave server. On the master the same connection will be used. --bård
Documentation: http://ez.no/doc
|