Re: Why set keepalive_timeout to a short period when Nginx is great at handling them?

2016-06-19 Thread Aahan Krish
Ah, I didn't know about NAT before. So that's how we have shared IP addresses vs. dedicated IP addresses. This is beautiful; there's so much to learn. So the 2^16 limitation that B.R. mentioned is nothing to worry about. It's like worrying that there are limited IP addresses available so we can't

Re: Why set keepalive_timeout to a short period when Nginx is great at handling them?

2016-06-19 Thread Aahan Krish
Hi Valentin, *(I repeat the same question I put to B.R. as you raised the same point.)* So you are referring to the 4-tuple (source_IP, source_port, server_IP, server_port) socket limitation, correct? I just came to know about this and it's interesting. Please tell me if this understanding of min

Re: Why set keepalive_timeout to a short period when Nginx is great at handling them?

2016-06-18 Thread Aahan Krish
Hi B.R., You raised a good point. So you are referring to the 4-tuple (source_IP, source_port, server_IP, server_port) socket limitation, correct? I just came to know about this and it's interesting. Please tell me if this understanding of mine is correct: So a server identifies a user's con

Why set keepalive_timeout to a short period when Nginx is great at handling them?

2016-06-18 Thread Aahan Krish
I read something interesting today: "Keep alive is a HTTP feature which allows user agents to keep the connection to your server open for a number of requests or until the specified time out is reached. This won’t

Re: What exactly does keepalive_timeout work?

2016-06-18 Thread Aahan Krish
Hi Richard, thank you for your reply. Since posting on this mailing-list I've come across some very good (and credible) descriptions of Keep-Alive, and the best thing is that they are all in agreement, i.e. no conflicting views. I'll quote them here as a note to self and for everyone; they explain

What exactly does keepalive_timeout work?

2016-06-17 Thread Aahan Krish
Hi, I'd like to understand how `keepalive_timeout` works. The description in the documentation isn't very clear and I couldn't get an answer to my satisfaction on #nginx IRC. People seem to have their own understanding of how `keepalive_timeout` works and they are very different. 1. For e.g.