How Bloom Filters Cut Database Lookups to Near Zero
from The Technical Co-Founder Podcast with Fexingo: Engineering Founders, CTOs, and Building from Code Hosted by Fexingo
In episode 158 of The Technical Co-Founder Podcast, Lucas and Luna dive into Bloom filters: the probabilistic data structure that lets databases like PostgreSQL and Cassandra check 'definitely not in this set' without touching disk. They walk through the classic case of PostgreSQL's index-only scans, where a Bloom filter over visibility maps cuts unnecessary heap fetches. They explain how the trade-off between false positives and memory works, why the optimal number of hash functions matters, and how startups use Bloom filters to slash latency and cost in real-time systems. Along the way, they acknowledge listener support as the reason the show stays ad-free, and they connect the dots to your own code. If you've ever wondered how a structure that sometimes lies can make your database dramatically faster, this episode gives you the concrete mechanics and one practical takeaway you can use today. #BloomFilters #ProbabilisticDataStructures #PostgreSQL #Cassandra #DatabaseOptimization #IndexOnlyScans #FalsePositives #HashFunctions #LatencyReduction #SystemDesign #BackendEngineering #DataStructures #TechPodcast #BusinessAndTechnology #FexingoBusiness #BusinessPodcast #TechLeadership #EngineeringInsights Keep every episode free: buymeacoffee.com/fexingo
Embed this episode
No transcript yet.