# Most lookups ask about files that don't exist — a Bloom filter cut this Cassandra cluster by 60%

Original title: Most lookups are for things that don't exist

> Hacker News story 50128688 · language: en · submitted 2026-10-17
> Web version: https://zeli.app/story/50128688
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 4 · by [frostbyte7](<https://news.ycombinator.com/user?id=frostbyte7>) · 💬 3
[original](<https://cristicretan.ro/articles/2026/10/16/most-lookups-are-for-things-that-dont-exist/>) · [HN discussion](<https://news.ycombinator.com/item?id=50128688>)

## Summary

A service answering one question — have we seen this file hash? — was hammering Cassandra with millions of requests a second, and about 80% of them came back "not found." Caching misses was useless, since most misses are hashes never seen again. Putting a Redis-backed Bloom filter in front of the cluster let the filter answer most of those negatives outright, shrinking the cluster by 60%. The hard part wasn't the filter; it was convincing skeptical teammates it couldn't return a wrong answer.

## Key quote

> The one thing you must never do is read "Redis unavailable" as "not found." The code above can't.

---

## Cite

- Page: https://zeli.app/story/50128688
- Date: 2026-10-17
- Source: cristicretan.ro (https://cristicretan.ro/articles/2026/10/16/most-lookups-are-for-things-that-dont-exist/)
- Hacker News: https://news.ycombinator.com/item?id=50128688

## Other languages

- zh: https://zeli.app/zh/story/50128688 · markdown: https://zeli.app/zh/story/50128688.md
- ja: https://zeli.app/ja/story/50128688 · markdown: https://zeli.app/ja/story/50128688.md
- ko: https://zeli.app/ko/story/50128688 · markdown: https://zeli.app/ko/story/50128688.md
- de: https://zeli.app/de/story/50128688 · markdown: https://zeli.app/de/story/50128688.md
- es: https://zeli.app/es/story/50128688 · markdown: https://zeli.app/es/story/50128688.md
- ru: https://zeli.app/ru/story/50128688 · markdown: https://zeli.app/ru/story/50128688.md
