Welcome! Log In Create A New Profile

Advanced

Re: Caching servers in Local ISPs !!

May 28, 2014 05:50AM
shahzaib1232 Wrote:
-------------------------------------------------------
> Thanks itpp. So according to you the more preferable way is
> non-caching
> replication of main content servers to local ISP servers and than run
> rsync
> periodically for replication. So if file not found in local ISP nginx,
> it
> should forward request to main content server using try_files method ?
>
> @itpp22, proxy_cache is eating too much memory and cpu on local testing. 1
> nginx process was using 1G of Ram and load-avg reached to 22, eventually
> local server got killed.

> Local server specs are : 8cores and 4G ram.

> Looks like proxy_cache will not be suitable method for 3000+ concerrent
> connections on local ISP caching server.

A HLD should have pointed that out :)
You should change your thinking what caching actually is, just because some functionality is called 'caching' it doesn't mean anything else is not.

If exist do {
present local via local interfaces
} else {
present remote via remote interfaces
}

Another (none-nginx) process (provisioning) controls which remote components flows to local (or is removed) via provisioning interfaces.

Look at something simple like a filesystem with replication, in it's basics it's not a cache but more a glorified 2way rsync solution. However global files are always local to be determined to which resource you are connecting to, yet the filesystem doesn't need to cache much no matter how many files it serves, which doesn't defer much from how nxing would work.
SubjectAuthorPosted

Caching servers in Local ISPs !!

shahzaib1232May 09, 2014 11:00AM

Re: Caching servers in Local ISPs !!

Rainer DuffnerMay 09, 2014 01:20PM

Re: Caching servers in Local ISPs !!

shahzaib1232May 09, 2014 01:46PM

Re: Caching servers in Local ISPs !!

itpp2012May 09, 2014 02:49PM

Re: Caching servers in Local ISPs !!

shahzaib1232May 09, 2014 03:24PM

Re: Caching servers in Local ISPs !!

itpp2012May 09, 2014 04:01PM

Re: Caching servers in Local ISPs !!

GreenGeckoMay 10, 2014 12:26AM

Re: Caching servers in Local ISPs !!

shahzaib1232May 10, 2014 05:20AM

Re: Caching servers in Local ISPs !!

itpp2012May 10, 2014 06:39AM

Re: Caching servers in Local ISPs !!

shahzaib1232May 27, 2014 06:14AM

Re: Caching servers in Local ISPs !!

itpp2012May 27, 2014 06:55AM

Re: Caching servers in Local ISPs !!

shahzaib1232May 27, 2014 08:18AM

Re: Caching servers in Local ISPs !!

itpp2012May 27, 2014 09:00AM

Re: Caching servers in Local ISPs !!

shahzaib1232May 27, 2014 09:28AM

Re: Caching servers in Local ISPs !!

itpp2012May 27, 2014 09:41AM

Re: Caching servers in Local ISPs !!

shahzaib1232May 28, 2014 04:48AM

Re: Caching servers in Local ISPs !!

shahzaib1232May 28, 2014 05:18AM

Re: Caching servers in Local ISPs !!

itpp2012May 28, 2014 05:50AM

Re: Caching servers in Local ISPs !!

shahzaib1232May 28, 2014 07:20AM

Re: Caching servers in Local ISPs !!

shahzaib1232June 04, 2014 02:52PM

Re: Caching servers in Local ISPs !!

itpp2012June 04, 2014 03:19PM

Re: Caching servers in Local ISPs !!

shahzaib1232June 04, 2014 03:24PM

Re: Caching servers in Local ISPs !!

shahzaib1232June 06, 2014 09:38AM

Re: Caching servers in Local ISPs !!

itpp2012June 06, 2014 11:26AM

Re: Caching servers in Local ISPs !!

shahzaib1232June 06, 2014 11:58AM

Re: Caching servers in Local ISPs !!

shahzaib1232June 16, 2014 01:20PM

Re: Caching servers in Local ISPs !!

itpp2012June 16, 2014 01:41PM

Re: Caching servers in Local ISPs !!

shahzaib1232June 17, 2014 10:00AM

Re: Caching servers in Local ISPs !!

itpp2012June 17, 2014 01:11PM

Re: Caching servers in Local ISPs !!

shahzaib1232June 17, 2014 02:10PM

Re: Caching servers in Local ISPs !!

itpp2012June 17, 2014 02:32PM

Re: Caching servers in Local ISPs !!

shahzaib1232June 17, 2014 02:48PM

Re: Caching servers in Local ISPs !!

shahzaib1232June 17, 2014 02:48PM

Re: Caching servers in Local ISPs !!

itpp2012June 17, 2014 03:50PM

Re: Caching servers in Local ISPs !!

shahzaib1232June 18, 2014 01:12PM

Re: Caching servers in Local ISPs !!

itpp2012June 18, 2014 02:24PM

Re: Caching servers in Local ISPs !!

shahzaib1232June 18, 2014 02:32PM

RE: Caching servers in Local ISPs !!

Lukas TribusJune 18, 2014 03:36PM

Re: Caching servers in Local ISPs !!

shahzaib1232June 18, 2014 03:46PM

Re: Caching servers in Local ISPs !!

Jonathan MatthewsJune 18, 2014 04:06PM

Re: Caching servers in Local ISPs !!

shahzaib1232June 19, 2014 01:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 84
Record Number of Users: 5 on November 26, 2014
Record Number of Guests: 173 on November 26, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready