DB optimization

Companies that trusted Evil Martians to scale:
GustoWhopBolt.newTinesDoximityWallarmSteelNATS

Evil Martians run an audit and propose a radical performance optimization plan accounting for traffic and database specifics, so you can scale peacefully.

Evil Martians method

First, we measure flamegraphs, allocation tracking, query analysis. Partition, fair prioritization scheme, circuit breakers are some of the tools we reach for often. When Rails is the wrong tool for one hot path, we reach for Go, C, or Rust for that path and leave the rest alone.

Growing faster than your infrastructure? Book a free 30-min call today.

Social proof

Gusto

Gusto runs payroll, benefits, and HR for more than 500,000 businesses, on one of the largest Rails monoliths anywhere, and crossed $1B in annual revenue in May 2026. Evil Martians worked on the infrastructure behind their background jobs.

In a time of rapid change and acceleration, it was amazing to see Andrey able to step in and create value so quickly.

Whop

Whop serves millions of users and needed off PostgreSQL without a maintenance window. We moved 750GB of production data to PlanetScale with zero downtime, running dual databases through the cutover and reconciling the schema dialects as we went. We also cut their Rails test suite and CI time in half, twice.

More teams we scaled