My Blog is Hilariously Overengineered to the Point People Think it's a Static Site
summary
The blog is a Rust webapp that serves faster than many static-file servers by compiling templates to Rust, loading ~300 posts into RAM at startup, and serving pages from memory; benchmarks compare it to nginx, Apache, warp, axum and Go servers (only a 200 MB precompiled Go binary beat it). It uses a comrak-based markdown dialect, transforms shortcodes with rucked templating → Rust code and a mod procedural-macro component system, supports RSS/Atom/JSON Feed, webmentions and an external stateful “me” service, and runs on NixOS after retiring Heroku, Dokku and Kubernetes.
AI-written summary · about
chapters (19)
- 0:00Introduction
- 1:06Blog overengineering details
- 3:53Rendering engine in Rust
- 4:36Benchmarking speed claims
- 5:37Mod templating system
- 6:18Conversation snippets
- 7:01Linked list performance trick
- 8:27Startup and RAM loading
- 9:32RSS and JSON feeds
- 10:34Personal API Me
- 12:21Hosting history overview
- 13:23Early Heroku and caching
- 14:47Switching to Dokku
- 15:55Rewriting in Go
- 16:56Traffic and performance needs
- 18:01Kubernetes experiment
- 19:47NixOS migration
- 20:29Key takeaways
- 21:13Q&A session
related talks
22mWhy (and How) We Wrote a WebAssembly CMS
42mBuilding a Web Application with Rust
01h 23mMarkdown Madness: Static Sites for Fun & Profit
43mHow to simplify your life by embracing static site generation
19mNavigating the web in a world full of constraints
51mJAMstack: Silly name, serious stuff
25mWTF, Rust for Web Development??
25mThe Unglamorous Side of Rust Web Development
