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

How we stopped memory intensive queries from crashing ElasticSearch

Blog post from Plaid

Post Details
Company
Date Published
Author
Angela Zhang
Word Count
1,656
Company Posts That Month
6
Language
English
Hacker News Points
-
Post removed?
No
Summary

We investigated the repeated ElasticSearch outages at Plaid, which were caused by memory-intensive queries crashing data nodes and bringing down the cluster. The root cause was identified as user-written queries aggregating over a large number of buckets, causing individual counters to take up too much memory on each data node. To address this issue, we configured request memory circuit breakers to cap memory usages for individual queries and limited the number of buckets ElasticSearch would use for aggregations. We also worked with AWS support to update the cluster settings, which allowed us to prevent similar issues in the future.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Observability 1 106 43 18 -65%
Real-time 1 515 117 54 -12%
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.