Chicago Boss seems like a neat framework and a good excuse to learn Erlang.
Have any of you used it? Can I really get great performance hosting it on a single machine?
Chicago Boss seems like a neat framework and a good excuse to learn Erlang.
Have any of you used it? Can I really get great performance hosting it on a single machine?
Generally Erlang is about 4-5 times slower than doing the same thing in C, though what it loses in speed, it gains in efficiency, simplicity and stability. Doing the things that Erlang excels at, I think it lies around 2-3 times of C. It can also be compiled to native binaries to speed it up about 20% more.
Just know that there are tons of common things that Erlang isn't good at, like string manipulation and number crunching. Erlang was made for distribution (in most senses of the word), so that's what it's awesome at.
Oh, and about the great performance on a single machine: Not more than half of what a C app would. But then again, that is still probably 30-40 times faster than the equivalent in ruby, php or python.
I can't speak for Chicago Boss performance specifically, but Erlang web servers are generally very quick.
They are also very good for multiple concurrent connections, due to Erlang's concurrency primitives. I know Chicago Boss doesn't use Yaws, but here is an Apache vs. Yaws graph, just for reference.
Agreed, C is faster in many cases, but any speed you will gain from C in processing, you will lose when you have multiple users. Think of it like this: