Welcome! Log In Create A New Profile

Advanced

Re: Serving files from a slow NFS storage

December 30, 2014 03:02PM
On Tue, 2014-12-30 at 02:34 -0500, erankor2 wrote:
> Thank you all for your replies.
>
> Since all 3 replies suggest some form of caching I'll respond to them
> together here -
> The nginx servers that I mentioned in my post do not serve client requests
> directly, the clients always hit the CDN first (we use mostly Akamai), and
> the CDN then pulls from these nginx servers. In other words, these servers
> act as the CDN origin. Therefore, hot / popular content is already taken
> care of - I have no problem there.
> Since the files we serve are large (video) the CDN isn't caching them for
> too long (we send caching header of 3 months, and the files usually get
> cached for a couple of days), so the servers are getting quite a few
> requests, and these requests hardly repeat themselves. Each server is
> delivering roughly 1/2TB of data per day, so to get any hits on an NFS cache
> we'll probably need a very large cache. And even if do that, we'll still
> have this problem with the non-popular content (e.g. videos that are watched
> on average once a week) - such a request may hang the process if opening the
> file takes a long time.
>
> Thanks,
>
> Eran

I'm a bit confused here. Are you saying that the CDN is pulling from
NFS? If so, then surely the solution is under your control... deliver
all this content from a single server. If the web servers never deliver
it, then mount this content via NFS on them so they know it exists, but
no more.

Steve


--
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
Subject Author Posted

Serving files from a slow NFS storage

erankor2 December 29, 2014 03:52PM

Re: Serving files from a slow NFS storage

itpp2012 December 29, 2014 04:17PM

Re: Serving files from a slow NFS storage

Scott Larson December 29, 2014 04:36PM

Re: Serving files from a slow NFS storage

GreenGecko December 29, 2014 06:56PM

Re: Serving files from a slow NFS storage

erankor2 December 30, 2014 02:34AM

Re: Serving files from a slow NFS storage

GreenGecko December 30, 2014 03:02PM

Re: Serving files from a slow NFS storage

erankor2 May 13, 2015 08:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 254
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready