How we cut infrastructure costs by 64% without touching the roadmap
Autobutler was spending 3M DKK annually on infrastructure. They had 11 engineers but velocity was slowing down. The founders knew something was wrong but couldn't pinpoint it.
Marcus joined as Tech Lead in 2022. First week: we profiled the entire AWS setup. The infrastructure was massively over-provisioned for the actual traffic. Database queries were a mess, zero caching strategy, and indexes on columns that were never queried.
Over six months, we:
- Consolidated infrastructure through vertical scaling and proper load balancing
- Implemented multi-level caching strategies with Redis
- Fixed database query optimization issues
- Rebuilt their deployment pipeline with modern containerization
- Set up comprehensive monitoring and error tracking
The team was also over-staffed. We went from 11 engineers to 4 through natural attrition, but velocity actually improved because we cut all the coordination overhead. Smaller team, better code reviews, faster shipping.
Final tally: 2M+ DKK saved annually (infrastructure + team costs). Response times improved significantly. Deployment went from 45 minutes to 8 minutes. And the founders could finally sleep through the night without Slack pings about server crashes.
Cut your infrastructure costs by 60%?
Let's discuss how we can optimize your Rails application.