gen_server locked for some time

Max Lapshin max.lapshin@REDACTED
Mon Dec 2 14:52:44 CET 2019


In flussonic we use concept of fast and slow servers.

Fast gen_server must never get blocked and it is safe to gen_server:call
him.   Slow can get blocked on disk I/O or some other job.

Good idea is when slow can ask fast for some job.

Fast can go to slow server, but very carefully: check first if it is safe
to make this call.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20191202/04ba1ef0/attachment.htm>


More information about the erlang-questions mailing list