Portal Home > Knowledgebase > Articles Database > Local Caching Server !!


Local Caching Server !!




Posted by shahzaibcw, 06-17-2014, 02:19 AM
We're using video streaming site and want to cache mp4 files on local caching server to save the bandwidth. We have two servers, one in US and one is in our country's local ISP(Caching Server). Request first goes to Main-server and it checks the client ip using nginx geo module in order to decide routing. Now we want to route any ip coming from our local ISP towards the caching server. Currently, we're using nginx geo module on main server located in US to check if the coming request is from the ip 1.2.3.4 and direct it to the local caching server. Our ISP provided us with pools i.e 10.0.0.0/8 to route these ips on their local caching server. The problem occurs now that we'll have to get the ip pools from our local ISP each time whenever they add the new clients to their network. Is there a way to detect new ip pools automatically using some services maybe like BGP ? I've no idea about BGP but just heard from my friend. If yes, how i am going to work with BGP ? Currently we're using nginx on both our servers. Help will be highly appreciated. Last edited by shahzaibcw; 06-17-2014 at 02:22 AM.

Posted by nexxterra, 06-19-2014, 11:01 AM
Local Caching is great to deal with load times and speed, however, unless you are caching something on the end users machine, the bandwidth will be the same and it makes more sense to have the content in BOTH places for streaming and pull from the server closest. If you are transferring a 1Gig file, it is still a 1 Gig file, it makes NO difference if the file was cached closer to home, except for maybe speed.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Recommendations Needed (Views: 387)
server has been hacked (Views: 355)