Welcome! Log In Create A New Profile

Advanced

Problem with instant streaming request body to backend

Tomasz Roda
January 05, 2012 04:50AM
Hey,

I am developer in new startup and Nginx is important part of whole
system. Generally it is great load balancer, has many interesting
modules and configuration possibilities but I have one serious problem
which I cannot solve.

Problem is that Nginx for each request collects the whole body of
request and only after that sends request next to backend. I know that
I can theoretically use upload module to omit that issue but we have
got own part of code to handle uploads in way that we need (which must
not be supported by module in load balancer). That issue is big
problem for us because in current load balancer implementation data
from client is unnecessarily "cached" on load balancer (load
balancer's hard drive in fact) and then send to backend instead of
instant streaming from client by load balancer to backend. Main
problem is lower performance (requirement of fast storage on load
balancer servers) and additional requests latency, it is really
noticeable especially for big files.

My question is: is any chance for adding feature of instant data
streaming of request body to backend? If chance is real can we expect
feature implementation soon? I think that it is useful functionallity
and can be used by many Nginx users.

Tomek

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

Problem with instant streaming request body to backend

Tomasz Roda January 05, 2012 04:50AM

Re: Problem with instant streaming request body to backend

Andrew Alexeev January 05, 2012 06:54AM

Re: Problem with instant streaming request body to backend

Tomasz Roda January 05, 2012 07:30AM

Re: Problem with instant streaming request body to backend

Andrew Alexeev January 05, 2012 07:46AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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