Contact me
March 11th, 2009
Please send your comments, suggestions and Erlang code examples that you think it’s must-have to trung dot n dot k at gmail dot com
Please send your comments, suggestions and Erlang code examples that you think it’s must-have to trung dot n dot k at gmail dot com
hi, can u add more examples about spawn? i want to measure performance of the erlang mnesia db, to do that i wanna measure time taken as number of processes increase… so any idea how?
thanks
Hi Onty,
If you have a book Programming Erlang from Joe Amstrong, in chapter 8, section 8.4 mentions about the performance of spawning a process. You can refer to it for more details.
In a nut shell, you can use erlang:system_info(process_limit) to find out the max number of process you can create. If I have time, I will create a post about this.
Thanks,
Trung