[erlang-questions] Millions of processes?

Nicolas Niclausse <>
Tue Sep 23 17:08:58 CEST 2008

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
> answer.)

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 :)


More information about the erlang-questions mailing list