hashes

Igor Sysoev is at rambler-co.ru
Tue Jan 22 19:25:41 MSK 2008


On Tue, Jan 22, 2008 at 03:16:40PM +0100, Almir Karic wrote:

> i have read http://wiki.codemongers.com/NginxOptimizations?highlight=%28optimization%29
> , but i have some questions:
> 
> what are the recommended values for server_names_hash_bucket_size and
> server_names_hash_max_size  for a highly loaded proxy?
> 
> what is stored in those hashes?

server_name values. Do not set these directives until you will see
error messages saying increase them.

> i turned tcp_nopush on and tcp_nodelay off (found igor's mail
> reccommending it) and set proxy_buffers 20000 4k;, nay other
> optimizations you would recommend?

tcp_nodelay is on since 0.3.61 and should not be turned off.
proxy_buffers 20000 4k means that responses up to 80M will be in memory,
it's not good choice.


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list