You might want to look at lsyncd - a GZSOC project - to ease the
synchronisation. I have had good results with it.
Steve
On Sat, 2014-05-10 at 00:22 +0500, shahzaib shahzaib wrote:
> @itpp thanks for replying.
>
>
> 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 ?
>
>
> What if a client request a video which is not in local caching
> server ? 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 ?
>
>
> I need a bit of guidance in order to configure nginx this way.
>
>
> Shahzaib
>
>
>
>
> On Fri, May 9, 2014 at 11:49 PM, itpp2012 <nginx-forum@nginx.us>
> wrote:
> Its quite simple, think of it this way, a DNS entry does not
> have to point
> to the same IP everywhere.
>
> Place your cache machines at a ISP, have them assign its IP to
> your
> preferred dns name, thats about it.
>
> The rest like distribution works like a reverse riverbed with
> a master
> mirror, rsync or the likes.
>
> And of course this can all be done with nginx at all
> locations.
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,249997,250000#msg-250000
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
--
Steve Holdoway BSc(Hons) MIITP
http://www.greengecko.co.nz
Linkedin: http://www.linkedin.com/in/steveholdoway
Skype: sholdowa
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx