Welcome! Log In Create A New Profile

Advanced

nginx duplicate streams

Posted by krokiki 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
nginx duplicate streams
September 06, 2011 08:24PM
Hi guys,
I am new to nginx source and I need a little assistance about how to implement the following scheme:
one nginx process is catching data constantly from a stream (some socket) and puting it to a shared memory (for example), and when there si request for a URI that matches my module to serve what is in the shared memory (and options not to close connection).
One program produces data on socket, one nginx process takes it constantly and many other serve it though http, it's like duplicating the fist stream of data encapsulation it in http by the nginx, no just to open another conenction to the socket (not needed proxy-like behaviour).

Thanks in advance!

Online Users

Guests: 246
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready