[rabbitmq-discuss] Determining Cause of Flow-Control Invocation

Richard Raseley richard at raseley.com
Fri Oct 4 19:52:52 BST 2013


Michael,

Thank you for that explanation - it was helpful.

Regards,

Richard


On Fri, Oct 4, 2013 at 11:23 AM, Michael Klishin <michael at rabbitmq.com>wrote:

>
> On oct 4, 2013, at 9:58 p.m., Richard Raseley <richard at raseley.com> wrote:
>
> > Will you expand more on your statement "[I]t's a little more complicated
> than '1 queue per core'."?
>
> You get one Erlang process per queue. Those are scheduled to run in one or
> more
> run queues (VM queues, nothing to do with RabbitMQ queues). Recent Erlang
> VM
> versions detect how many cores are available on start and create a new run
> queue
> per core.
>
> How scheduling is performed (that is, how processes are given time to run
> and distributed between run queues) is not so trivial to explain and
> varies between
> SMP and non-SMP systems, see
>
> http://jlouisramblings.blogspot.ru/2013/01/how-erlang-does-scheduling.html
>
> for a fairly concise and approachable overview.
>
> MK
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20131004/a07888b4/attachment.htm>


More information about the rabbitmq-discuss mailing list