Search code examples
erlangchicagoboss

anyone out there using Chicago Boss?


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?


Solution

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

    • C may take 10 time units to complete a task, but 20 units to switch to the next client and back.
    • Erlang might take 15 units of time to complete, but will take about 5 units to switch clients.
    • DISCLAIMER: Time units are just relative terms. I'm not saying those are the correct proportions either, I'm just saying C's speed advantage will not be as big a factor once you start having multiple things going on at once, which is what Erlang is made for.