No, no, your question was generally correct. It depend how monitor is implemented. Sure that tree organisation of controllers and partitioning is better solution for complexity. But how monitors work is good question anyway. I think it is one process per node with ets and linked to monitored processes, but I'm not sure. So anyway in your example it will be 9,999,900,000 records or 100,000 records with 99,999 list items each. If I remember there is timers described same way in this email list and I guess monitors can be implemented similar.<br>
<br><div class="gmail_quote">On Sun, Jun 8, 2008 at 6:15 AM, Jay Nelson <<a href="mailto:jay@duomark.com">jay@duomark.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;">
<div class="Ih2E3d">> Do you really mean that each process would monitor the other 99,999<br>
> processes? That would be 9,999,900,000 monitor relationships, so<br>
> at the<br>
> very least you've gotta have a lot of memory on those systems.<br>
<br>
</div>I got carried away as I was writing the email and added this without<br>
thinking.<br>
No only that, but if one process goes down I will get 99,999 messages.<br>
<br>
I think I need to come up with a partitioning scheme or a hierarchy of<br>
processes which have a single notifier watching them so that only one<br>
'DOWN' message is signalled and then I can cascade it as needed.<br>
<br>
So, I'm back to my original question of how many monitors can a single<br>
process hold. I'll post the results of any benchmarking I do.<br>
<font color="#888888"><br>
jay<br>
</font><div><div></div><div class="Wj3C7c"><br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>--Hynek (Pichi) Vychodil