[erlang-questions] gen_server mailbox scans
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions