On Sun, Jan 9, 2022 at 12:47 AM Reinis Rozitis <r@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@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org