How Erjang handles processes
Clone this wiki locally
Erjang uses Kilim to run light weight processes. See Kresten’s kilim clone.
The following references should convince you that the Kilim approach works:
I have run some simple performance tests. Compared to beam (the Erlang VM), the “ring problem”, 100 processes, 1,000,000 rounds of messages runs at-par with beam. First run (after launching erjang) runs 1.5 x slower than beam, a successive run (when hotspot is given a small pause in between to clean things op and finish dynamic compilation) in the same VM runs at 1.5 x faster than beam. But these are preliminary numbers.