Skip to content

Connection Management

sreeix edited this page Apr 25, 2012 · 1 revision

Redis Proxy Maintains a pool of Connections, that can be configured via

pool_size variable in config.json.

Currently all the redis connections to the proxy use this pool, hence there is no overhead of creating connections to redis server. This prevents backlogs on the same connection to redis (in a single connection to server model)

The pool is only maintained for the active redis server, and not for the slaves. When a new redis server takes over as master, the existing connection pool is released and a new set of connections are created to the new master.

There is one extra control connection we hold per redis server, this is useful in tracking the availability of the redis server.

Clone this wiki locally