Skip to content
Loading…
ghost (demo)
<k/>
All tags
mongodb
Indexes, queries and data shapes for a small site that still expects to be around next year.
3 notes
case-study
infrastructure
performance
privacy
security
testing
12 Jul 2026
A database that tidies up after itself
TTL indexes delete what has expired, rate limits live in the database across instances, and the audit log keeps a hashed record.
18 Apr 2026
Case study: a guestbook that survives the internet
An obfuscated wall, a spam score instead of a spam filter, database-backed limits and an offline queue that does not duplicate messages.
7 Feb 2026
MongoDB indexes that earn their keep
The equality-sort-range rule explains most compound indexes; an audit script that runs the real query shapes explains the rest.