Optimizing NGINX TLS Time To First Byte (TTTFB)

Maxim Dounin mdounin at mdounin.ru
Fri Dec 20 00:21:53 UTC 2013


On Thu, Dec 19, 2013 at 03:55:05PM -0800, Ilya Grigorik wrote:

> > As of now, I tend to think that 4k (or 8k on systems with IW10)
> > buffer size is optimal for latency-sensitive workloads.
> >
> If we assume that new systems are using IW10 (which I think is reasonable),
> then an 8K default is a good / simple middle-ground.
> Alternatively, what are your thoughts on making this adjustment
> dynamically? Start the connection with small record size, then bump it to
> higher limit? In theory, that would also avoid the extra config flag.

In theory, this may be intresting, and I thought about it too.  
But I don't think it will stop people from asking us to add a 
configuration directive anyway, and if 4k/8k will work fine - 
there should be no need to add extra complexity here.

Maxim Dounin

More information about the nginx mailing list