2009/1/15 Chandru <span dir="ltr"><<a href="mailto:chandrashekhar.mullaparthi@gmail.com">chandrashekhar.mullaparthi@gmail.com</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Ben,<br><br>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.</blockquote>
<div><br>One thing to remember with ets tables is that you copy data between the process and the table.<br><br>Robert<br><br></div></div>