Is ngx_http_perl_module stable enough to use in high traffic production environment?

2016-01-23 Thread highclass99
I use perl a lot, and I noticed http://nginx.org/en/docs/http/ngx_http_perl_module.html for several years has been documented as "The module is experimental, caveat emptor applies." So I have been somewhat avoiding testing its use. Does anyone know if this is suitable to use in high traffic produc

What is the recommended way to swap hash consistent servers (with least sudden hash change)

2016-01-21 Thread highclass99
Hello, If I have the following config upstream ImageCluster { server 10.1.1.1; server 10.1.1.2; server 10.1.1.3; hash $cachekey consistent; } and wish to swap 10.1.1.3 to 10.1.1.5 would it be better to delete 10.1.1.3, restart and wait for the hash keys to update, add 10.1.1.5 and then

Re: I'm not sure how "hash $cachekey" works...

2016-01-21 Thread highclass99
cachekey consistent; } Again, thanks for your reply. On Fri, Jan 22, 2016 at 1:05 AM, Roman Arutyunyan wrote: > Hi, > > > On 21 Jan 2016, at 15:41, highclass99 wrote: > > > > I have a question about "hash $cachekey" consistent; > > Would the following Conf

I'm not sure how "hash $cachekey" works...

2016-01-21 Thread highclass99
I have a question about "hash $cachekey" consistent; Would the following Config 1, Config 2, Config 3 be exactly the same of different? i.e. if I swap the configurations would the cache keys stay consistent? The reason I am asking is I have a large configuration similar to Config 2 and am not sure

How does nginx weighting work?

2015-10-02 Thread highclass99
upstream myCloud{ server 10.0.0.1 weight=10; server 10.0.0.2 weight=20; } For 30 sequential requests, will it work like A. 10.0.0.1 10.0.0.2 10.0.0.2 -> 10.0.0.1 10.0.0.2 10.0.0.2 -> ... total 10 times repeat or will it work like B. 10.0.0.1 ... 10 times repeat -> 10.0.0.2... 20 times repeat

Re: Anyone know how the least_conn upstream option works in nginx plus?

2015-10-01 Thread highclass99
>Is there any reason to indicate that the weighting used in nginx plus is not the same as used in the OSS version? First of all this is a nginx plus only feature. It is NOT available in the OSS version. > If so, could you not just look at the module to examine how the weighting is determined? Al

Anyone know how the least_conn upstream option works in nginx plus?

2015-10-01 Thread highclass99
Hello, Anyone know how the least_conn upstream option works in nginx plus? http://nginx.org/en/docs/http/ngx_http_upstream_module.html#least_conn says "Specifies that a group should use a load balancing method where a request is passed to the server with the least average response time and least

Nginx for windows in high traffic production environment?

2015-09-25 Thread highclass99
Hello, I am curious whether nginx is suitable for windows in high traffic production environment? http://nginx.org/en/docs/windows.html says "Version of nginx for Windows uses the native Win32 API (not the Cygwin emulation layer). Only the select() connection processing method is currently used,

Re: Optimzing hard drive IO for proxy_pass

2015-07-26 Thread highclass99
t was sincerely a mistake. On Mon, Jul 27, 2015 at 12:29 AM, highclass99 wrote: > I have server A with a large HDD at IDC 1 (TB hdd) > I have server B with cheap bandwidth at IDC 2 (very small virtual server > 20 GB hdd) > > I send all image requests to server B, and it caches fro

Optimzing hard drive IO for proxy_pass

2015-07-26 Thread highclass99
I have server A with a large HDD at IDC 1 (TB hdd) I have server B with cheap bandwidth at IDC 2 (very small virtual server 20 GB hdd) I send all image requests to server B, and it caches from A. My problem is that on server IO is really high Server B iostat Device: rrqm/s wrqm/s r/s

Optimzing hard drive IO for proxy_pass

2015-07-24 Thread highclass99
I have server A with a large HDD at IDC 1 (TB hdd) I have server B with cheap bandwidth at IDC 2 (very small virtual server 20 GB hdd) I send all image requests to server B, and it caches from A. My problem is that on server IO is really high Server B iostat Device: rrqm/s wrqm/s r/s