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

How we scaled our logging stack by creating per-team budgets

Blog post from Plaid

Post Details
Company
Date Published
Author
Summer Devlin
Word Count
1,620
Company Posts That Month
15
Language
English
Hacker News Points
-
Post removed?
No
Summary

The ElasticSearch (ES) cluster is a critical component of real-time observability at Plaid, but it faces scalability challenges due to high log volume spikes. The team designed safety rails to prevent resource-intensive queries from crashing ES and implemented a solution to protect the cluster from surges in log ingestion volume. They explored two classes of solutions: dropping logs as necessary to ensure volume doesn't exceed a certain threshold (N messages/second) or queuing excess logs to prevent accidental data loss during spikes in log volume. The queueing solution was chosen, which involves establishing a budget per service and only emitting N messages/second to ES, with any remaining messages queued for later processing. This approach has improved the reliability of the ELK stack, allowing engineers to move faster and deploy with more certainty, but also increases the number of Kinesis shards and Logstash pods, requiring additional monitoring and alerting rules.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Observability 2 362 110 31 -35%
Real-time 2 829 314 97 +30%
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.