Scope a subquery to the caller. A global scan grows with everyone's data.
persistence/transactions
A read is written to cover far more than the decision it feeds depends on. The result is correct, so nothing fails, but the cost is paid on every call and grows with data that could never change the answer. The author relies on the read staying as cheap as it was when the data was smaller and the calls were rarer.
A completion check runs every few seconds and each run fetches the whole record, stored output included, to learn a single finished-or-not flag.
Not Limit Before Filter, where the returned result is itself wrong: here the answer is right and only the work done to reach it is unbounded.
Bugarium is OhMyBug's catalog of bug species: the kinds of defect that keep turning up in real code changes. Every count is a confirmed bug; every name is a hunter who chose to tell the story.