How I Survived the Front Page of Hacker News Without Crashing My Server
This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).
A personal account of how a self-hosted Ghost CMS blog survived a Hacker News front-page spike with 194,000 requests in a single day. The key was a two-layer caching setup: Cloudflare as a CDN/proxy with 'cache everything' rules, and properly configured Ghost cache headers in Docker Compose. With 94% of requests served from Cloudflare's edge cache, the origin server (a 4-core ARM machine running ~24 self-hosted services via Docker Compose and Traefik) never went down. The post ends with a brief TL;DR and a freelance consulting pitch.
Table of contents
Want my expertize applied to you company? Contact meHow Cloudflare Saved My ServerMy Stack: Minimal, Scalable, Docker-BasedTL;DR: Want Your Blog to Survive Hacker News?Need Help Setting This Up?Sign up for Daniel PetricaSort: