Home / Companies / Braintrust / Blog / Post Details
Content Deep Dive

Faster phrase search with shingled bloom filters in Brainstore

Blog post from Braintrust

Post Details
Company
Date Published
Author
Braintrust Team
Word Count
1,285
Company Posts That Month
23
Language
English
Hacker News Points
-
Post removed?
No
Summary

Brainstore, a database tailored for handling agent traces, faced challenges with traditional phrase search in large datasets, which often resulted in slow queries due to common terms with rare intersections. The solution involved implementing shingled bloom filters using trigrams instead of unigrams, improving segment elimination by focusing on rare three-word combinations rather than individual common words. This approach significantly enhanced search efficiency, allowing for faster phrase search by pruning irrelevant data more effectively. The improved method was tested on real customer data, reducing the scanned data size from over 100 GB to less than 4 GB, resulting in a 25x increase in efficiency. As Brainstore continues to develop, it aims to further optimize its search capabilities and handle larger datasets, ensuring that agent debugging remains fast and efficient even as data volumes grow.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 1 5,522 1,291 230 -4%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.