[Anurag Bhatia] Building CDN around Backblaze B2
Over the last week, I migrated the cdn.anuragbhatia.com from the garage cluster with the origin sitting locally into a CDN doing edge caching only while moving off origin to Backblaze B2.
Last year I posted about self-hosting my website with high availability. Over time I have tweaked a few things to remove certain performance bottlenecks. One of them is static content delivery. Initially, I was storing both websites as well as the static content of the website (served via cdn.anuragbhatia.com) at each edge location. They were logically seperated but sitting at the same location.The website (excluding the static content) is tiny (60MB as of now) but static content is a little high. It not only has photos, and videos embedded in the website but also things like screenshare videos, occasional temporary sharing of files etc. Since these are all hosted on cheap low-end VMs with limited storage, the total storage size was slowly becoming a concern.
Thus over the last week, I migrated the cdn.anuragbhatia.com from the garage cluster with the origin sitting locally into a CDN doing edge caching only while moving off origin to Backblaze B2.
Building CDN around Backblaze B2
This post explains how to build a caching layer around object storage
