Nginx performance data

James Read jamesread5737 at gmail.com
Fri Jan 14 00:47:04 UTC 2022


On Sun, Jan 9, 2022 at 12:47 AM Reinis Rozitis <r at roze.lv> wrote:

> > Otherwise why is my application running into such performance limits as
> mentioned in this question on stackoverflow
> https://stackoverflow.com/questions/70584121/why-doesnt-my-epoll-based-program-improve-performance-by-increasing-the-number
> ?
>
> You are testing something (public third party dns servers) you have no
> control over (how can you be sure there are no rate limits?) with third
> party libraries without actually measuring/showing what takes up your time.
> That's not the best way to test low level things.
>

I just succeeded in modifying the wrk source code so that is connects with
multiple servers rather than just the one. I can confirm that it gets the
same throughput as with one host. So I take back my comments about there
being a difference between one host simulating many being different to an
actual test with many clients. There must be a problem with my epoll
implementation because the modified wrk codebase works just fine.

James Read


>
> I would suggest to at minimum do at least 'strace -c' to see what syscalls
> takes most of the time.
>
> But that's something out of scope of this mailing list.
>
> rr
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20220114/ac44dad0/attachment.htm>


More information about the nginx mailing list