[erlang-questions] zlib driver in erlang seems very slow
Wed Mar 9 12:15:55 CET 2016
I didn't tested concurrently but I will do it shouldn't be very difficult
to change the testing script. Even if from what I know zlib doesn't have
any mutex or something to lock the access to resources inside.
Regarding inflateChunk I might add it, right now its only an interface that
makes integration in the projects I'm using faster.
On Wed, Mar 9, 2016 at 1:08 PM, Loïc Hoguin <> wrote:
> On 03/09/2016 11:54 AM, Caragea Silviu wrote:
>> Some benchmark results you can see on the
>> I can understand that the erlang driver api is generic and allows you to
>> customize a lot if things and mine it's not and it's built
>> around my need to use it with ejabberd but still I'm almost sure if I
>> change the interface the performance difference will be the same.
>> Maybe my benchmark is not realistic or I'm missing something.
>> Feedback it's welcome.
> I have recently come to realize the same thing as you. A few discussions I
> had with users pointed out that the performance of the Erlang zlib might be
> even worse when used concurrently. Have you done some measurements on that?
> Also you will probably need an inflateChunk equivalent if you are doing
> anything public facing. I don't think it changes much performance-wise
> Loïc Hoguin
> Author of The Erlanger Playbook,
> A book about software development using Erlang
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions