Welcome! Log In Create A New Profile

Advanced

RE: performance guide for nginx L4 stream

All files from this thread

File Name File Size   Posted by Date  
nginx.conf 1.1 KB open | download Vishwas Bm 10/27/2022 Read message
Reinis Rozitis
October 27, 2022 07:46AM
> We are using the hey (https://github.com/rakyll/hey) tool to pump 50k requests per second and are seeing only 40k requests being received on the backend application side.
> Any other tcp configuration that needs to be tuned ?

I am not familiar with the tool but per documentation it should have some sort of error status report for the failed requests What it is for the 10k "missing" requests?

Are they "missing" (already) on nginx or just on the proxied backend(s)?
(in the provided nginx configuration I don't see any access/error log configuration - you could enable both to see if you actually get those 50k requests to nginx).

Are you testing from a single client (same server) or multiple?
Do you use keepalive or new connection per request (in the case of later might come close to the ephemeral port limit (~65k) depending on if tcp_tw_reuse is or isn’t configured)?

Have you tried with other tools like 'ab', 'httperf' or 'siege' to see if you get the same results/problems?

rr

_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org
Subject Author Posted

performance guide for nginx L4 stream Attachments

Vishwas Bm October 27, 2022 06:20AM

RE: performance guide for nginx L4 stream

Reinis Rozitis October 27, 2022 07:46AM

Re: performance guide for nginx L4 stream

solomon November 04, 2022 04:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 317
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready