Welcome! Log In Create A New Profile

Advanced

Nginx as load balancer without caching to temp files

Posted by lbates35406 
Nginx as load balancer without caching to temp files
April 01, 2009 01:59PM
I'm a complete newbie (installed yesterday) so be gentile.

I have things working but because of security I would like to turn off the feature that caches uploaded files to temp directory until the entire file is uploaded. I just want Nginx to forward to my backend server which is encryting the blocks on-the-fly as they are arriving. I looked over documentation but just haven't seen what I'm looking for yet.

Thanks in advance,
Larry Bates
vitalEsafe, Inc.
Re: Nginx as load balancer without caching to temp files
April 01, 2009 03:32PM
Have you looked at http://wiki.nginx.org/NginxHttpUploadProgressModule ?

--
Jim Ohlstein
Re: Nginx as load balancer without caching to temp files
April 05, 2009 08:10PM
I did but this scared me off:

his software has never been tested under load. It only passed a few lab tests, including various stress tests of many parallels uploads and myriads of progress probe.
it is not intended to be deployed on production systems.

And the problem is that I DON'T want the content written to disk, I want it passed on to the back-end application servers as the blocks arrive.

Thanks for the suggestion though,
Larry
Re: Nginx as load balancer without caching to temp files
April 05, 2009 09:59PM
I don't blame you. I haven't used it myself, though I have considered it for a couple of apps.

As per the wiki at http://wiki.nginx.org/NginxHttpProxyModule:

[quote]Note that when using the HTTP Proxy Module (or even when using FastCGI), the entire client request will be buffered in nginx before being passed on to the backend proxied servers.[/quote]

It seems, at this time, that you're pretty well out of luck. :(

--
Jim Ohlstein
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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