News for hackers. Stuff that matters.
Re:My Own Private CDN by michaelgv on Thursday August 30, 2018 @08:02PM (#17881886)
Are you designing this CDN to pull from origin, cache temporarily? Or to pull from local file and put strong cache on it?

If you need a hand let me know, I’ve built pretty large CDNs before (10M r/s at peak)

Re:My Own Private CDN by zrail on Thursday August 30, 2018 @08:03PM (#17881902)
The former to start but I want to add push zones and/or “s3sync” zones that proactively sync an s3 bucket to local disk.

Thanks for the offer! I might just take you up on it :)

Re:My Own Private CDN by michaelgv on Thursday August 30, 2018 @08:42PM (#17882073)
Just be careful, understand that if you do a PULL only CDN, you're not going to gain big benefits. If you do want a pull only CDN, have a background task runner to retrieve the files, and update them locally.
Re:My Own Private CDN by tatersolid on Monday September 03, 2018 @12:24AM (#17900304)
> understand that if you do a PULL only CDN, you're not going to gain big benefits.

This statement makes no sense. A CDN edge node is just a cache; its size and your access patterns determine the hit ratio.

At $dayjob we get Nginx cache hit ratios on our edge in excess of 99% for “an origin fetch” setup. That is a very large benefit.

Cloudflare works entirely on origin fetch. They seem to be doing okay.

Re:My Own Private CDN by zrail on Thursday August 30, 2018 @08:46PM (#17882086)
Sure. I have Nginx set to keep files around for s long time and serve stale and refresh in the background, but proactively refreshing periodically is a good idea.