How Erjang handles processes

krestenkrab edited this page Sep 13, 2010 · 3 revisions

Erjang uses Kilim to run light weight processes. See Kresten’s kilim clone.

The following references should convince you that the Kilim approach works:

PPPJ09 Paper
Kilim Google Techtalk
Kilim Home page

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.