Welcome! Log In Create A New Profile

Advanced

Re: Nginx proxy overhead with / out keep alive requests

June 13, 2012 04:50PM
upstream with keepalive has the results almost comparable with tomcat, so yes keepalive between nginx and tomcat really does the trick. :)

Unfortunately we cannot use the upstream as explained in my previous post, unless upstream can offer something like below

map $http_void $header_based_url{

default "no_http_header";
#These Key => URL's are currently stored in a flat file
key1 server_instance_1_url_host;
key2 server_instance_2_url_host;
......
}

upstream http_backend {

server $header_based_url_host;

keepalive 100;

}


location /xxx {
proxy_pass http_backend;
}
Subject Author Posted

Nginx proxy overhead with / out keep alive requests

paphillon June 12, 2012 04:30PM

Re: Nginx proxy overhead with / out keep alive requests

Maxim Dounin June 13, 2012 06:16AM

Re: Nginx proxy overhead with / out keep alive requests

paphillon June 13, 2012 01:52PM

Re: Nginx proxy overhead with / out keep alive requests

paphillon June 13, 2012 04:50PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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