Welcome! Log In Create A New Profile

Advanced

Transfering a fd to a process to get better performance than with mod_proxy

Ottavio Campana
December 12, 2018 04:50AM
Hello,

I have the current scenario: nginx proxies a process that runs internally
and is bound to the loopback interface. Everything works, but I am facing
performance issues, because the processor is old and slow.

I would like to skip the proxy and the read/write operations performed by
mod_proxy and to pass the file descriptor associated to the socket to the
internal process, in order to unload the mod_proxy.

Is there already a mechanism in nginx to do this? If not, shall I develop a
custom module with a dedicated handler or do you think that there is a
smarter way to do it?

Thank you,

Ottavio
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Transfering a fd to a process to get better performance than with mod_proxy

Ottavio Campana December 12, 2018 04:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 315
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