[erlang-questions] Rabbit under small load

Yogish Baliga yogishb@REDACTED
Fri May 24 19:04:59 CEST 2013


Single RabbitMQ server cannot handle your load requirement. You need to
setup multiple RabbitMQ servers and handle shard the messages across
multiple servers.

-- baliga


On Fri, May 24, 2013 at 1:28 AM, Max Bourinov <bourinov@REDACTED> wrote:

> Hello Dear Erlangers!
>
> I have about 3000 erlang-processes which should send messages to
> AMQP-queue of destination and receive replies from it.
>
> The message rate at the moment is about 100 M/s
> Average message size: 4 Kb
>
> At the moment I have one locally registered gen_server that does all
> communication with RabbitMQ. It consumes messages and routes them
> to corresponding worker processes (via gproc). When worker process need to
> send something, it cast message to RabbitMQ process via local name.  With
> this approach I see some problems with message consumption speed.
>
> What is the right way to interact with RabbitMQ server in Erlang
> code? Should it be more consumer processes?
>
> Best regards,
> Max
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130524/a66c9e8a/attachment.htm>


More information about the erlang-questions mailing list