Open Sourcing Our Infrastructure
Our team built Trench because the Postgres table we used for tracking events at our startup Frigade became expensive and a performance bottleneck as we scaled to millions of end users.
Many companies run into the same problem as us. They add a basic events table to their relational database, which works at first, but becomes problematic as the application scales. It's usually the biggest table in the database, the slowest one to query, and the longest one to back up.
With Trench, we've put together a single Docker image that gives you a production-ready tracking event table built for scale and speed. When we migrated our tracking table from Postgres to Trench, we reduced cost to serve by 42% and eliminated lag spikes from autoscaling under high traffic.
Now, we've made Trench open source with an MIT License so others can get the same benefits. We're excited to collaborate with the community on Trench and see what people build with it.
–Christian, Eric, and Micah