Skip to content

Running Multiple Connection Pools

fredjean edited this page Sep 13, 2010 · 1 revision

The JRuby MemCache Client gem has the ability to define multiple connection pools. This is useful if you have to connect to multiple pools of memcached servers or if you need to connect to both memcached servers and kestrel servers for asynchronous queues.

Here is how you could configure a client to create a connection pool called “async”:

Note that the default name of “default” will be used by the connection pool if you do not specify a connection pool name.

Clone this wiki locally