Non-http upstream server

Hi,

Is there any way that I can develop a nginx module that talk to a
non-http upstream server? These can be remote FTP servers or database
server. Any suggestion that this can be done without affecting the
efficiency of the main event loop? I do not want to block on the request
to the non-http upstream server.

Thanks.

Posted at Nginx Forum:

JoeL at 2009-10-29 14:59 wrote:

Hi,

Is there any way that I can develop a nginx module that talk to a non-http upstream server? These can be remote FTP servers or database server. Any suggestion that this can be done without affecting the efficiency of the main event loop? I do not want to block on the request to the non-http upstream server.

See the memcache module as a example:
http://wiki.nginx.org/NginxHttpMemcachedModule