Everyone reaches for a bigger machine. The two mechanisms that actually cause this both scale with corpus size, both hit the tail before the median, and one of them is the permission filter your security review insisted on.
The customer's corpus grew from one million documents to ten million and retrieval p99 tripled. Your code did not change. Find out why.
Everyone reaches for a bigger machine. The two mechanisms that actually cause this both scale with corpus size, both hit the tail before the median, and one of them is the permission filter your security review insisted on.
Updated Aug 2026 · Grounded in real Forward Deployed Engineer interview loops and written to a senior-engineer editorial bar.
Strong answers open by noticing that p99 moved and p50 barely did. Candidates who treat that as noise miss the whole diagnosis, because both real causes here are distributional: they lengthen the worst queries first and leave the typical one alone. The second-order point worth listening for is that the ACL filter, which someone added for good reasons, gets more expensive every time the corpus grows while the user's own slice stays the same size, and it does so with no code change and no alert.
No comments yet — be the first to share your approach.
