[erlang-questions] gen_server mailbox scans

Robert Virding rvirding@REDACTED
Sat Jan 17 00:01:05 CET 2009


2009/1/15 Chandru <chandrashekhar.mullaparthi@REDACTED>

> Hi Ben,
>
> I agree. If you are brave enough to have your own version of gen_server,
> may be you can have your message queue in an ordered_set ets table, instead
> of a queue. That way, you still keep the message queue in a separate area,
> and get all the power of ets. Will work better when you have large message
> queues to deal with.


One thing to remember with ets tables is that you copy data between the
process and the table.

Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20090117/37b2204f/attachment.htm>


More information about the erlang-questions mailing list