Keeping Mastodon storage in check
For my Mastodon instance, I use Cloudflare R2; mainly for two reasons:
- Storage was growing quickly (~80Gb during its peak); I am hosting my instance on a RPi4 (w/ 8Gb RAM) and the SSD was filling up rapidly,
- I wanted something speedy to serve (big and cacheable) content (i.e. a CDN).
While I didn't care much about storage any more, I still wanted to make sure it was kept in check, also for two reasons: