Welcome! Log In Create A New Profile

Advanced

Re: Caching servers in Local ISPs !!

May 09, 2014 04:01PM
> So on easy note, i would have to assign those machines the preferred
> dns
> and use rsync on regular basis in order to make identical data
> between
> local caching machines and main front end content servers ?

Yep.

> What if a client request a video which is not in local caching server
> ?

You need to maintain a cache index on each cache machine in order to determine what is available to the users, for most content you need to do this anyway since not all content can legally be everywhere and you also might want to customize what you present for each region.

> Does nginx has the configuration for it to check the files locally and
> then
> forward the request to main content servers if requested file is not
> cached
> locally ?

There are many ways to do this with nginx and Lua but a independent cache index would be much better, with it you can do much more like redirect a content source from elsewhere depending on load and demand. You simply feed nginx the cache index. A very simplistic cache index system is abusing a local (local to nginx) dns server, assign local IP's to resources and change them according to load and demand. Again for a local DNS you can assign whatever you want to a dns name, with a local ttl of 15 seconds and nginx loadbalancing between 4 regional resources it will be peanuts to change the load based on demand (provided you have monitoring in place which can act on such data). Basically a DIY BGP :)

---
nginx for Windows http://nginx-win.ecsds.eu/
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: 89
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready