[erlang-questions] Multi processes consume limited redis resource

linbo liao llbgurs@REDACTED
Thu Mar 26 04:01:08 CET 2015

Hi All,

Here I meet a problem for client-server model when using Erlang OTP.
Application will spawn multi processes, and each process will operate on
limited redis resource, now it only have one redis instance.

We wrapped redis client <https://github.com/wooga/eredis> using poolboy
<https://github.com/devinus/poolboy>, since producer processes are much
more than redis pool size,  checkout poolboy will failed, no more redis
client in the pool.

I think it is a common issue, when producer is faster than consumer, or
producer are much more than consumer. Any common design or material for
this issue?  Thanks in advanced.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150326/b0c20448/attachment.htm>

More information about the erlang-questions mailing list