Lurker News
I'll start. For me, I think the most impactful thing I've ever built was an internal application for a FX trading desk that eventually went on to handle billions in daily trades.

It didn't use any fancy frameworks, just plain old CRUD on Java.

Comments (737) 396 threads

Show all comments

Showing thread 138 of 396

calmtech1 reply#
Found a single line of byte code that cost $4M of compute per year.
suprjami2 replies#
Please tell us more. This sounds like a good investigative story.
TruthWillHurt#
sleep(3)
calmtech1 reply#
We noticed that one line of byte code was crazy hot. We traced it back to the code, and realized it was a special case fallback.

They were summing 10mb of 8 bit encoded integers, in the 99.5th percentile of traffic, so no one noticed. It was using 10% of fleet compute.
We changed the encoding to 64bit; the data size stayed constant, the 99.5%tile latency plummeted, and I got a bonus. Took a week. My contribution to climate change.
A lot of stuff can hide past 99%.

suprjami#
That's awesome!