performance guide for nginx L4 stream

Vishwas Bm bmvishwas at gmail.com
Thu Oct 27 10:18:39 UTC 2022


Hi,

We are using nginx as L4 with a stream block configured in nginx.conf. I
have attached the nginx.conf being used.

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.
We are seeing a drop of 10k requests.
We have tuned the normal tcp configuration like rmem, wmem,
local_port_range etc and we are not seeing any errors in nginx logs.

Can you please suggest what other configuration in the nginx.conf needs to
be looked at.
Any other tcp configuration that needs to be tuned ?

*Thanks & Regards,*

*Vishwas *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20221027/3acc5007/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nginx.conf
Type: application/octet-stream
Size: 1087 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20221027/3acc5007/attachment.obj>


More information about the nginx mailing list