This one is short.
As our services were running, we were pretty complacent about spend. It just wasn't something we were focused on. Then one day I looked at our infrastructure costs and realized we were spending far more than we should have been to run some of these services.
What I did
I load tested them from every angle I could think of: different instance sizes, different performance flags and configurations, different JVM settings.
There were really two things I was digging into. First, the host: what settings can we tune, and what instance should this actually run on? Second, the JVM. A bigger box means more memory and more cores, and the JVM doesn't automatically make good use of either. So I looked at heap sizing relative to the machine, which garbage collector we were on and its pause-time target, how many threads the GC was given for its parallel and concurrent phases, and the request deadlines we set. A lot of it was reading what the JVM actually does with a given setting rather than assuming.
I ran load tests against those configurations for about two weeks, comparing throughput and latency across each combination.
What we found
We could run on much bigger boxes, and run far fewer of them. A box that cost two to three times as much let us run roughly five times fewer of them, and the fleet got cheaper overall without giving up performance.
So we made the move. Two weeks of effort, and almost a million dollars a year in savings: $860K.
The point
Every now and then, look at the things nobody is looking at. Especially costs. Don't take the costs as a given. Question the environment and see if there's anything to improve.
I've always appreciated being able to save the company more money than they were paying me (at the time). It's a tangible way to feel useful and to show your worth to the organization.