<div dir="ltr"><div><div><div><div>Thanks for replying guyz.<br><br></div>Can i use nginx (origin and edge) ? As the question in following link. <br><br><a href="http://stackoverflow.com/questions/10024981/distributed-cached-mp4-pseudostreaming-seeking-with-nginx">http://stackoverflow.com/questions/10024981/distributed-cached-mp4-pseudostreaming-seeking-with-nginx</a><br>
<br></div>If i use the origin and edge method, i think i'll change my application codes to redirect local country traffic to edge webservers (ISP caching server for video files) and that edge server will check if the requested file is not in cache and it'll fetch the requested video file from origin web-server located in U.S and cache it to local.<br>
<br></div><div>For this procedure,<br></div><div><br></div>I'll have to configure DNS A entries against local ISP caching servers and put those DNS to my application code to stream videos from those LOCAL CACHING SERVERS for specific country.<br>
<br></div>Please correct me if i am wrong.<br><br><br><div><div><br><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, May 10, 2014 at 9:24 AM, Steve Holdoway <span dir="ltr"><<a href="mailto:steve@greengecko.co.nz" target="_blank">steve@greengecko.co.nz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You might want to look at lsyncd - a GZSOC project - to ease the<br>
synchronisation. I have had good results with it.<br>
<br>
Steve<br>
<div class="HOEnZb"><div class="h5">On Sat, 2014-05-10 at 00:22 +0500, shahzaib shahzaib wrote:<br>
> @itpp thanks for replying.<br>
><br>
><br>
> So on easy note, i would have to assign those machines the preferred<br>
> dns and use rsync on regular basis in order to make identical data<br>
> between local caching machines and main front end content servers ?<br>
><br>
><br>
> What if a client request a video which is not in local caching<br>
> server ? Does nginx has the configuration for it to check the files<br>
> locally and then forward the request to main content servers if<br>
> requested file is not cached locally ?<br>
><br>
><br>
> I need a bit of guidance in order to configure nginx this way.<br>
><br>
><br>
> Shahzaib<br>
><br>
><br>
><br>
><br>
> On Fri, May 9, 2014 at 11:49 PM, itpp2012 <<a href="mailto:nginx-forum@nginx.us">nginx-forum@nginx.us</a>><br>
> wrote:<br>
>         Its quite simple, think of it this way, a DNS entry does not<br>
>         have to point<br>
>         to the same IP everywhere.<br>
><br>
>         Place your cache machines at a ISP, have them assign its IP to<br>
>         your<br>
>         preferred dns name, thats about it.<br>
><br>
>         The rest like distribution works like a reverse riverbed with<br>
>         a master<br>
>         mirror, rsync or the likes.<br>
><br>
>         And of course this can all be done with nginx at all<br>
>         locations.<br>
><br>
>         Posted at Nginx Forum:<br>
>         <a href="http://forum.nginx.org/read.php?2,249997,250000#msg-250000" target="_blank">http://forum.nginx.org/read.php?2,249997,250000#msg-250000</a><br>
><br>
>         _______________________________________________<br>
>         nginx mailing list<br>
>         <a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
>         <a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> nginx mailing list<br>
> <a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
> <a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Steve Holdoway BSc(Hons) MIITP<br>
<a href="http://www.greengecko.co.nz" target="_blank">http://www.greengecko.co.nz</a><br>
Linkedin: <a href="http://www.linkedin.com/in/steveholdoway" target="_blank">http://www.linkedin.com/in/steveholdoway</a><br>
Skype: sholdowa<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</div></div></blockquote></div><br></div>