News for hackers. Stuff that matters.
Re:A good day to trie-hard: saving compute 1% at a time by jgrahamc on Tuesday September 10, 2024 @11:23AM (#41501708)
Yeah, me too, but systems grew over time and grew and grew and we were using HTTP headers for all sorts of stuff. This optimization makes the situation better, but the solution (which is underway) is to use a different mechanism for IPC and get rid of the use of HTTP headers completely.
Re:A good day to trie-hard: saving compute 1% at a time by throwaway77385 on Tuesday September 10, 2024 @11:28AM (#41501749)
For anyone not in the loop, the above poster (JGC) is Cloudflare's CTO himself :)
Re:A good day to trie-hard: saving compute 1% at a time by amluto on Tuesday September 10, 2024 @11:39AM (#41501891)
I’m certainly familiar with systems growing over time and outgrowing their original schema.

Is this the same phenomenon that resulted in Cloudflare Tunnels apparently being domain names? Or why domains that are proxied by Cloudflare show up as “CNAME” in the DNS panel? (The latter one seems extra strange — wasn’t the reverse proxy service the very first service that Cloudflare offered? There must be some history here.)

Re:A good day to trie-hard: saving compute 1% at a time by hinkley on Tuesday September 10, 2024 @11:52AM (#41502080)
All new products are full of scaffolding that has to be removed when robustness becomes a higher priority than existence. Where we fail is not calling it that. Instead we just call some code “good” while our thicker skinned coworkers call the rest “fine”. It’s not fine. I don’t want to be working overtime the week of thanksgiving because you can’t think past the horizon.
Re:A good day to trie-hard: saving compute 1% at a time by gmueckl on Tuesday September 10, 2024 @01:50PM (#41503556)
There is a very fine line between "good enough" and "not good enough" in any product beyond a certain complexity. Finding the pieces that cross that line can be hard and improving "good enough" parts is (sadly) mostly a waste of time in commercial settings.
Re:A good day to trie-hard: saving compute 1% at a time by hinkley on Tuesday September 10, 2024 @02:01PM (#41503688)
You have to backdate starting a project so it happens before things stop being good enough. And take into account bad estimates and the five other deadlines between then and now.

Often it’s better to clean as you go. If you have the time and the inclination, shore up one of the least good enough things.

It’s not unheard of to open up new feature sets via refactoring. Something that previously would have taken an “impossible” amount of time now becomes profitable, not just possible.

Re:A good day to trie-hard: saving compute 1% at a time by dmorgan81 on Tuesday September 10, 2024 @09:14PM (#41507277)
I miss working at a place where that was encouraged. Now if I do that the testers complain that it’s not in scope for the ticket and to split the changes into another ticket with a separate test plan. The rot thus continues.
Re:A good day to trie-hard: saving compute 1% at a time by hinkley on Tuesday September 10, 2024 @09:34PM (#41507347)
I think this is about when I discovered zone defense for performance optimization. QA doesn’t want to chase your code changes halfway across the codebase, and that’s fair. At some point it starts looking like you’re changing things just to change them, even if it ends up being a few percent better.

But if you limit yourself to one part of the interaction, they don’t get as mad. A dozen changes in the signup system piss them off less than five changes across the app.

Re:A good day to trie-hard: saving compute 1% at a time by didgetmaster on Tuesday September 10, 2024 @02:19PM (#41503904)
This is why some bugs never get fixed (that is if you define a bug to include inefficient code and not just code that breaks something).
Re:A good day to trie-hard: saving compute 1% at a time by DamonHD on Tuesday September 10, 2024 @11:27AM (#41501744)
And when that happy day dawns, slightly sadly, this nice optimisation will evaporate!
Re:A good day to trie-hard: saving compute 1% at a time by jgrahamc on Tuesday September 10, 2024 @12:09PM (#41502306)
Maybe the real treasure was the optimizations we made and discarded along the way.
Re:A good day to trie-hard: saving compute 1% at a time by DamonHD on Tuesday September 10, 2024 @12:33PM (#41502636)
Indeed. I am very happy with some of the tricks that I developed (speeding up, and indeed allowing, Solaris C++ linking by prefiltering on MD5 hashes of canonicalised .o files -> nm, anyone?) even though they were lost without trace (yep, Lehman Brothers, where are my Imakefiles now?)...
Re:A good day to trie-hard: saving compute 1% at a time by jkaptur on Tuesday September 10, 2024 @01:32PM (#41503330)
They're probably as critical as ever at Barclays :)
Re:A good day to trie-hard: saving compute 1% at a time by DamonHD on Tuesday September 10, 2024 @01:53PM (#41503579)
I really hope not, given that that very old Solaris compiler should have been laid to rest many many years ago. Yes, some of my stuff had kinda made it into BarCap (even onto my desktop dev machine!) when I turned up there later, and even some at Nomura when I rocked up there again IIRC!
Re:A good day to trie-hard: saving compute 1% at a time by alohashirt99 on Wednesday September 11, 2024 @05:11PM (#41515368)
I recall working at a broker/dealer on Broadway where a curious sysadmin noticed a power cord that underneath an internal wall that fenced off "dead space." Said space turned out to contain a "forgotten" minicomputer living just outside a machine room.

I recall returning to a bank and discovering that router and load balancer admin passwords hadn't changed in seven years..

Re:A good day to trie-hard: saving compute 1% at a time by Twirrim on Tuesday September 10, 2024 @03:15PM (#41504433)
My likely overly cynical concern here is that this suggests trie-hard will soon end up abandoned, as you're making it sound like it is a stop-gap solution for you.
Re:A good day to trie-hard: saving compute 1% at a time by alex_suzuki on Tuesday September 10, 2024 @01:32PM (#41503336)
You chiming in on this post makes me slightly bitter at having gone with CloudFront (I have everything on AWS so it seemed the obvious choice) instead of Cloudflare.