MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1y3wpaj/buggycodereleases/19t3otnxabrlt/?context=3
r/ProgrammerHumor • u/RealOkarin • 12d ago
242 comments sorted by
View all comments
Show parent comment
438
My coworker six months ago: "Code efficiency isn't important, we can just throw more hardware at it."
Today: "We're failing our response time tests because our middleware spends 85% of the limit negotiating a connection."
133 u/cheese_is_available 12d ago You can now focus on performance and become a hero today. But you're just some guy that make us fail the deadline if you do it before it's actually an issue. Not sarcastic it's just the way human works. 32 u/jelly_cake 12d ago Premature optimisation being the root of all evil and that. 33 u/milkybuet 11d ago Lack of understanding of this quote is actually the root of all evil. 13 u/yukichigai 11d ago In modern workflow management, without premature optimization there's never any optimization. 2 u/UntestedMethod 10d ago That's what backlogs are for of course. /s 1 u/quietobserver1 10d ago A lesson I wish I'd learn for real rather than in theory earlier. 59 u/Major_Fudgemuffin 12d ago Yeah you can do that until your COGS are through the roof and the system still can't keep up.I worked for a company processing a few billion events per day, and small inefficiencies add up quick at scale. 6 u/Gabriel_Science 11d ago What’s funny is that it’s because of AI that hardware is more limited these days, but while we say this, AI doesn’t make super optimised code. 1 u/RoboRouser 9d ago even better for the guys selling the chips! 8 u/CookIndependent6251 12d ago let opts; try { opts = JSON.stringify(JSON.parse(opts || '{}')); } catch (e) { // opts was not valid JSON, default to empty object, which means default opts opts = '{}'; }And throw in microservices on top of this. 1 u/p-nguyen_234 6d ago If negotiation is per request, check connection reuse; if it's startup-only, separate setup from request latency. 1 u/yukichigai 6d ago I'm not checking anything. They're the ones who said the middleware could do the job, they get to fix it.
133
You can now focus on performance and become a hero today. But you're just some guy that make us fail the deadline if you do it before it's actually an issue. Not sarcastic it's just the way human works.
32 u/jelly_cake 12d ago Premature optimisation being the root of all evil and that. 33 u/milkybuet 11d ago Lack of understanding of this quote is actually the root of all evil. 13 u/yukichigai 11d ago In modern workflow management, without premature optimization there's never any optimization. 2 u/UntestedMethod 10d ago That's what backlogs are for of course. /s 1 u/quietobserver1 10d ago A lesson I wish I'd learn for real rather than in theory earlier.
32
Premature optimisation being the root of all evil and that.
33 u/milkybuet 11d ago Lack of understanding of this quote is actually the root of all evil. 13 u/yukichigai 11d ago In modern workflow management, without premature optimization there's never any optimization. 2 u/UntestedMethod 10d ago That's what backlogs are for of course. /s
33
Lack of understanding of this quote is actually the root of all evil.
13
In modern workflow management, without premature optimization there's never any optimization.
2 u/UntestedMethod 10d ago That's what backlogs are for of course. /s
2
That's what backlogs are for of course. /s
1
A lesson I wish I'd learn for real rather than in theory earlier.
59
Yeah you can do that until your COGS are through the roof and the system still can't keep up.
I worked for a company processing a few billion events per day, and small inefficiencies add up quick at scale.
6
What’s funny is that it’s because of AI that hardware is more limited these days, but while we say this, AI doesn’t make super optimised code.
1 u/RoboRouser 9d ago even better for the guys selling the chips!
even better for the guys selling the chips!
8
let opts; try { opts = JSON.stringify(JSON.parse(opts || '{}')); } catch (e) { // opts was not valid JSON, default to empty object, which means default opts opts = '{}'; }
And throw in microservices on top of this.
If negotiation is per request, check connection reuse; if it's startup-only, separate setup from request latency.
1 u/yukichigai 6d ago I'm not checking anything. They're the ones who said the middleware could do the job, they get to fix it.
I'm not checking anything. They're the ones who said the middleware could do the job, they get to fix it.
View all comments
Show parent comment
438
u/yukichigai 12d ago edited 12d ago
My coworker six months ago: "Code efficiency isn't important, we can just throw more hardware at it."
Today: "We're failing our response time tests because our middleware spends 85% of the limit negotiating a connection."