[erlang-questions] Erlang zlib and concurrency

Caragea Silviu silviu.cpp@REDACTED
Tue Jan 31 20:27:56 CET 2017

Hi Loic,

I found same problem while profiling the ejabberd server. I wrote a zlib
implementation but unfortunately you can use it in case you want to do
streaming only. As time the interface doesn't expose to many stuffs. We
created it only to cover our bad performances in ejabberd.


But also you can look at benchmark to have an idea how slow is zlib coming
with erlang


On Tue, Jan 31, 2017 at 4:14 PM, Loïc Hoguin <essen@REDACTED> wrote:

> Hello,
> The zlib module in Erlang can not do work concurrently, I believe. It
> always seem to use a single core. I have a vague memory of an Erlang
> Factory talk mentioning this and that they rewrote the algorithm in Erlang
> to speed things up. But I am seeing no such code around.
> Does anyone know of an open source implementation of zlib in Erlang? I
> personally need gzip only.
> If not, would anyone be willing to sponsor it? Shouldn't take more than a
> day or two.
> Cheers,
> --
> Loïc Hoguin
> https://ninenines.eu
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170131/6632689b/attachment.htm>

More information about the erlang-questions mailing list