[erlang-questions] Message Loop in Gen_Server

Ali Sabil ali.sabil@REDACTED
Thu Apr 18 11:09:34 CEST 2013


I have been using it in production under heavy load for quite some time so
it's very stable. I haven't had time to document it though, so patches are
very welcome :)


On Thu, Apr 18, 2013 at 10:42 AM, Tim Watson <watson.timothy@REDACTED>wrote:

> Just to clarify - if you're consuming RabbitMQ messages
> then amqp_selective_consumer or amqp_gen_consumer will be the simplest
> choice. All the other advice is fine and good, but the OP is clearly
> relatively new to Erlang/OTP and those simplifying behaviours are clearly
> more appropriate to his needs.
>
> On 18 Apr 2013, at 09:15, Ali Sabil wrote:
>
> I case you need something that is OTP compliant while allowing you to
> drive the receive loop yourself, you can take a look at gen_process:
> https://github.com/asabil/gen_process which is a lower level alternative
> to gen_server and gen_fsm
>
>
> I've not seen this before - it sounds interesting so I'll take a look. :)
>
> Cheers,
> Tim
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130418/54763f26/attachment.htm>


More information about the erlang-questions mailing list