Welcome! Log In Create A New Profile

Advanced

nginx duplicate streams

Posted by krokiki 
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!
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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