[erlang-questions] Cowboy vs Misultin

Roberto Ostinelli <>
Mon May 30 12:30:54 CEST 2011

2011/5/30 Loïc Hoguin <>

> Hi Roberto,
> Irregardless of this, AFAIK you are using lists for headers and
> websocket data. This test doesn't send huge websocket data so it's
> probably the headers of all the open connections, kept in your websocket
> loops, that take a lot more space than for cowboy.

hi loic,

side note first: this is why i enjoy these tests, they push all of us to do
better :)

afaik, taken from the efficiency guide:

Data type     Memory size
List     1 word + 1 word per element + the size of each element
Binary     3..6 + data (can be shared)

so you've probably hit the spot.

it's some time now i'm thinking to add the 'binary' option in misultin, this
could be the perfect reason to do so.

2011/5/30 Loïc Hoguin <>

> Also all R*A releases are unstable and should not be used for any
> serious work. Debian made a very bad choice there by including it in
> stable instead of an actual stable version.
couldn't agree more. erlang being packaged as stable in debian was the exact
same reason that brought my client to have it installed in her system in the
first place.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110530/ceabfd3c/attachment.html>

More information about the erlang-questions mailing list