News for hackers. Stuff that matters.
Re:The logging framework isn't a bottleneck, and other lies ... by duxup on Wednesday May 13, 2020 @10:56PM (#23174778)
>They ended up literally deploying Bob's laptop to the ISP data center.

I guess in a pinch but that is a solution that I just don't think I would like.... I would feel like we're going to figure this out, not surrender to the absurd...

Re:The logging framework isn't a bottleneck, and other lies ... by vbezhenar on Thursday May 14, 2020 @02:37AM (#23176149)
Sometimes that requires expertise in a very low-level topics. For example I've read a similar story, but developer digged the truth. Production was running on vmware cluster with live migration or something like that. Servers used slightly different CPUs (frequency differed a bit), so VMware emulated some important instruction (something related to get current timestamp). MSSQL used that instruction a lot in one specific scenario, so it was running much slower on virtualized production server.

They were able to figure it out and rewrote one stored procedure so it ran fast again. But I'm sure that I, for example, don't possess the necessary expertise to figure this out. I wouldn't be surprised that in many small-to-medium companies there are no experts of that level either.

Re:The logging framework isn't a bottleneck, and other lies ... by xxs on Thursday May 14, 2020 @03:41AM (#23176608)
Time Stamp Counter (TSC) has been trapped to make sure it returns the same value across all cores. Intel fixed that part, though.
Re:The logging framework isn't a bottleneck, and other lies ... by zorked on Thursday May 14, 2020 @04:17AM (#23176866)
In a live migration scenario the TSC in the source and destination machines will be necessarily different so that emulation is required to make it not warp.

That said, due to previous TSC instability all operating systems deal with a TSC warp pretty well. Whether applications deal well with it is probably the reason why emulation is the default, but it could be that this can be disabled.

(Everything AFAIRC)

Re:The logging framework isn't a bottleneck, and other lies ... by vardump on Thursday May 14, 2020 @04:26AM (#23176934)
Sure, across all cores on a physical CPU socket. But not across CPU sockets.
Re:The logging framework isn't a bottleneck, and other lies ... by RedShift1 on Thursday May 14, 2020 @07:25AM (#23178165)
Probably VMware fault tolerance which keeps a virtual machine in sync over 2 physical machines to allow instant failover. But I can imagine that taking a lot of instruction trapping.
Re:The logging framework isn't a bottleneck, and other lies ... by gvjddbnvdrbv on Thursday May 14, 2020 @03:05AM (#23176343)
I would never get the CPU instruction bit but I'd like to think I'd get as far as the stored proceedure.
Re:The logging framework isn't a bottleneck, and other lies ... by pjc50 on Thursday May 14, 2020 @05:13AM (#23177277)
Ship first, dig self out of absurdity later.
Re:The logging framework isn't a bottleneck, and other lies ... by quickthrower2 on Thursday May 14, 2020 @08:21AM (#23178568)
Later being codeword for never
Re:The logging framework isn't a bottleneck, and other lies ... by pjc50 on Thursday May 14, 2020 @08:40AM (#23178716)
Maybe the horse will learn to sing? https://en.wikibooks.org/wiki/Sufism/Nasrudin#Nasreddin_and_...

Maybe putting the laptop in the data center lets you do the launch. Maybe the launch is a flop because you forgot to advertise it. Maybe you raise series A funding; maybe you don't and the site dies in three months, still happily running on the laptop. Maybe someone decides to re-write the product in a different stack. Maybe the product was wrong and needs to pivot.

A lot of products have shipped and succeeded with absurd hacks in them. Hex-editing the binary to change "EMM386 Memory Error.." to "Thank you for playing Wing Commander", etc.

Re:The logging framework isn't a bottleneck, and other lies ... by bregma on Thursday May 14, 2020 @08:45AM (#23178766)
I believe the correct translation is "in the fullness of time as we address technical debt."
Re:The logging framework isn't a bottleneck, and other lies ... by nrclark on Thursday May 14, 2020 @10:06AM (#23179666)
I know that I'm a small sample size - but in my career so far, "later" means "never" a lot more often than it actually means "later". Especially when it comes to paying down technical debt.
Re:The logging framework isn't a bottleneck, and other lies ... by pc86 on Thursday May 14, 2020 @12:38PM (#23181697)
In my similarly limited experience, this is directly correlated with equal parts 1) how strong-willed the architects and technical leadership is; 2) how [dis]functional your non-technical leadership is.

Most good developers want to pay down technical debt. Most good architects are able to balance business and technical needs enough to know when and how to pay down what debt without spending four sprints renaming variables. It's when you have either dis-functional leadership who refuses to listen to their employees (most likely IME), or architects weak in either skill or constitution who can't or won't stand up the bosses to try to explain to them why we need to spend some time renaming variables.

Re:The logging framework isn't a bottleneck, and other lies ... by throwawaywrench on Wednesday May 13, 2020 @11:00PM (#23174796)
I doubt it was a solution anyone liked.
Re:The logging framework isn't a bottleneck, and other lies ... by billyhoffman on Wednesday May 13, 2020 @11:35PM (#23174976)
Especially Bob
Re:The logging framework isn't a bottleneck, and other lies ... by lmm on Wednesday May 13, 2020 @11:58PM (#23175110)
Bob probably got a newer-model replacement and was fine with that.
Re:The logging framework isn't a bottleneck, and other lies ... by Rapzid on Thursday May 14, 2020 @12:29AM (#23175306)
They probably made Bob develop on the server..
Re:The logging framework isn't a bottleneck, and other lies ... by ComodoHacker on Thursday May 14, 2020 @05:05AM (#23177216)
..until he gets matched performance.
Re:The logging framework isn't a bottleneck, and other lies ... by raverbashing on Thursday May 14, 2020 @02:43AM (#23176187)
If you hire only people with a superficial knowledge of things (the usual for the "big consultancies") that's what you'll end up with.
Re:The logging framework isn't a bottleneck, and other lies ... by agumonkey on Thursday May 14, 2020 @08:43AM (#23178755)
Isn't this worth some contest ? 1000$ to whoever figures it out.