[erlang-questions] Millions of processes?
Ulf Wiger (TN/EAB)
Tue Sep 23 17:14:37 CEST 2008
Nicolas Niclausse skrev:
> Bard Bloom ecrivait le 23.09.2008 15:22:
>> I've seen in Erlang promotional materials some rather impressive claims
>> about how cheap Erlang processes are, and how many of them one can
>> spawn. Which is pretty cool. But, what Erlang programs take advantage of
>> that kind of power? Are there any examples of programs which use huge
>> numbers of processes in interesting ways? (I am the local Erlang
>> fancier. I got challenged on that point, and didn't have a very good
> You can use tsung to simulate millions of users to do load/stress testing.
> It uses an erlang process for each simulated user.
> I tried to simulate ~1.3 million users, distributed on ~30 nodes, with one
> smp beam per node, to see if it works. it does :)
Yeah, but that's just some 43k processes per node then. (:
Don't you also run into the problem that practically every
process in tsung does network IO?
More information about the erlang-questions