ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:loadbalancer:reference

This is an old revision of the document!


Load Balancer Reference Manual

setBlackListFunctions()Defines a list of ADOdb functions that cannot be executed on the primary server
setSessionInitSqlDefines an SQL statement that will always be initialized whenever a lod balancer connection is made
addConnection()Adds a new connection to the list of available servers
removeConnect()Removes a connection from the list of available servers
getConnectionByWeight()Returns a value indicating the importance of a server
getLoadBalancedConnectionReturns the id of an appropriate connection for a requested type
v5/loadbalancer/reference.1492214136.txt.gz · Last modified: 2017/04/21 11:29 (external edit)