Can AI Write Database Internals?
A developer recounts using Claude to work on database internals, including implementing a new cache policy based on the W-TinyLFU algorithm. Claude produced the cache policy in days, but the work then stalled for weeks with no measurable gain, and the model overlooked an MVCC invariant. The author traces an interest in TinyLFU to a 2015 paper on cache admission co-authored by former CS professor Roy Friedman, first encountered in 2016 through a Cassandra pull request.
AI-written summary, checked against the cited sources. How summaries work
