<div class="gmail_quote">On Wed, Jun 4, 2008 at 8:46 AM, Andreas Hillqvist <<a href="mailto:andreas.hillqvist@gmail.com">andreas.hillqvist@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
What if it would be possible to create Message Queues in addition to<br>
process "default" Message Queue?<br><br></blockquote><div>How would you send messages? Something like<br>    {Pid, Queue} ! Message<br>?<br><br>Since the sender will have to know which queue to send to, this is no different than having a cluster of processes that cooperate (from the client's point of view). Possibly it would be somewhat easier to code the server, but it could get hairy too...<br>
<br>Maybe if this would be combined with Richard O'Keefe's suggestion for filtered receive statements: each queue has a filter and messages are automagically added to the right queue (by the runtime), without the client having to care about this implementation detail... But then the server process must juggle with the different queues anyway and my first impression is that it won't get easier to understand what's happening.<br>
<br>Personally, I would rather have some kind of framework that would help manage the cluster of processes mentioned above. I feel it would be much easier to get right and debug.<br><br>regards,<br>Vlad<br><br></div></div>