What I take on
Infrastructure Cost Reduction.
Built by me, start to deploy
The other half of the bill. Servers, databases and queues sized for the load you actually have, on a cost that stops being multiplied by your volume.
Why this gets built
Most cloud bills grow with usage because of how the system was shaped, not because of how much work it does. Something is priced per execution, so every new customer costs money twice. Instances were sized for a spike that happened once. The database and the cache quietly cost more than everything running on top of them. And nobody can say which part of the bill belongs to which feature, so the only available decision is to pay it. I spent two years assuming the compute was the expensive part. In the pipeline I run now, the six services doing all the work cost $35 a month and the database and the cache cost $90.90.
What I build
- Measurement first. Where the money goes, per service, per feature, per request. A week of billing data and a day of reading answers most of it.
- Off per-execution pricing where that is the shape of the problem. A bill that is multiplied by your trade count, your job count or your user count is the one worth changing first, because every other saving is undone by growth.
- Instances right-sized against what the load actually is, which is usually far below what was provisioned, and tested against the spike rather than guessed at.
- Queues instead of more machines. Work that arrives in bursts belongs in a queue a small worker drains, not in a bigger instance waiting for the burst.
- Managed services looked at as a line item. A hosted database and cache are worth paying for, and they are also where most of the bill sits, so the plan is chosen on your real connection count and working set instead of the default.
- Everything in one region, and preferably one private network. Cross-region hops cost latency and egress at the same time, and both are avoidable.
- Connection pooling, because a database plan is often sized for a connection count that pooling removes.
- The real bottleneck found before anything is rewritten. In my own system the limit turned out to be the storage format rather than the language: the same algorithm went from 62,556 to 4,857,759 accounts a second on a flat binary layout, inside JavaScript.
- A per-feature cost figure afterwards, and an alert on the shape of the bill rather than its total, so the next increase is visible before the invoice is.
How long it takes
About two weeks to a measured bill and the changes that remove the obvious half. Reshaping the architecture underneath is a separate estimate, usually three to four weeks.
This starts on a call rather than with a quote. Bring a month of billing and half an hour, and I will tell you whether the saving is a settings change or a rebuild. The resizing is quick. Moving off per-execution pricing is the one that pays back most and takes longest, because each change has to be proven under load before it goes near production.
What ships
- A measured breakdown of the current bill, per service and per feature
- The resized and reshaped infrastructure, deployed
- Queue architecture where bursts were being paid for as capacity
- A before and after cost figure, with the load it was measured at
- Latency numbers at each hop, so a cheaper system is also a provably fast one
- Cost alerting and a note on what to watch as you grow
Tech stack
Next step
Let’s talk, 30 minutesNeed this built?
Tell me what you’re running and where it breaks. Half an hour is usually enough for me to say what it takes and what I’d do first.