Re:Building Your Own CDN for Fun and Profit
by janoszen on Wednesday February 14, 2018 @12:14PM
(#16377350)
Interesting, although I specifically wanted to build a push CDN (where I can push the content) rather than a pull CDN (that works with an origin) to avoid the added latency with cache misses.
[ Parent
| on HN ]
Re:Building Your Own CDN for Fun and Profit
by dzolvd on Wednesday February 14, 2018 @12:19PM
(#16377386)
Makes sense, I am enjoying looking through the source as we are moving to an ansible and hopefully dockerized deployment model.
Re:Building Your Own CDN for Fun and Profit
by janoszen on Wednesday February 14, 2018 @01:08PM
(#16377808)
Of course it's dockerized, it has to be cool, right? :)
Ansible is running docker-compose up -d on deployment an Traefik is doing the magic. I want to extend it to host multiple sites in the future. (Btw. Ansible ran from a central location is painfully slow because of the large latency to the edge nodes.)
The content itself is deployed using rsync, Ansible was just too painfully slow for that.