r/programming • • Mar 01 '17

Programmers are confessing their coding sins to protest a broken job interview process. “Whiteboard” interviews are widely hated. They also discriminate against people who are already underrepresented in the field.

https://theoutline.com/post/1166/programmers-are-confessing-their-coding-sins-to-protest-a-broken-job-interview-process
1.0k Upvotes

717 comments sorted by

View all comments

Show parent comments

1

u/AmalgamDragon Mar 03 '17

As I said, CPU utilization also needs to be monitored. That generally applies to any resources the system has a limited supply (e.g. memory, local storage, network storage). It sounds like 'router queues' are a resource that needs monitoring in that specific system, and not just when the CPU is overloaded.

The monitoring I'm talking about isn't done by individual teams on just their own rollouts, but by the organization as a whole on the entire system. That way it isn't at the discretion of individual teams what gets monitored. That goes back to what I said about the organization being robust with respect to engineering.

There is absolutely testing and monitoring that could have caught this, including active probing for some of the issues that we ran into, (and it was put in place after the incident), but it's rather specific.

Indeed, there will be any number of system specific things that will need to be monitored, and doing so will require the organization to have disciplined engineering practices.

1

u/oridb Mar 03 '17

that specific system

"That specific system" is a generic data center network. With enough scale, strange interactions come up.

1

u/AmalgamDragon Mar 03 '17

Scale makes investing in good engineering all the more important, rather than being a reason not to do it. Distributed systems aren't unique in generating strange interactions. They occur on systems running on single machines too, and not catching them can screw up even more systems (i.e. millions) if they get deployed broadly through an auto-update.

1

u/oridb Mar 03 '17

Yes, those have other challenges. For example, Windows had an issue that some important this party program accessed invalid memory after some action, but due to allocation patterns, the bad access was harmless. They addressed it in a patch, but I am not sure how good engineering would find that one before shipping, without comprehensive tests of all actions in all third party programs, and what broken behavior needed to be accommodated.

1

u/AmalgamDragon Mar 03 '17

There are tools that can detect a process accessing invalid memory and lots of other defects that don't deterministcally show-up as obvious failures. Part of good engineering is including those tools into the development process.

1

u/oridb Mar 03 '17 edited Mar 03 '17

Third party code. Detecting the invalid memory accesses doesn't help, because Microsoft doesn't control the code and has no ability to ship a new version. The binary that someone else had shipped needed to keep working on Microsoft's platform, regardless of latent bugs. When Windows updates, Autocad (or whatever it was) needs to keep working.

1

u/AmalgamDragon Mar 03 '17

That's a strategic business decision, not an engineering failing on Microsoft's part. They don't put it hacks to keep most defective applications working, just certain ones that are strategic to their business. However, it is an engineering failing on the part of the third party. If they had been doing good engineering, no hacks would be need in the OS to keep their application running.

Microsoft actually used to dedicate significant resources to testing third-party application compatibility themselves, but a few years back they decided generally push off a lot of testing onto customers and significantly reduce their staff dedicated to testing. Put another way they've reduced their investment in doing good engineering, and it's no surprise there are consequences to that.

1

u/oridb Mar 03 '17

It's still an engineering problem that needs to be fixed, regardless of who drives that decision. (And anything done with the goal of producing a sellable product can be painted as a business decision.)

1

u/AmalgamDragon Mar 03 '17

Yes, but it isn't Microsoft's engineering problem. It's the third party's engineering problem, which Microsoft has decided to fix for them indirectly for business reasons.

1

u/oridb Mar 03 '17

Who is paying for someone to solve the problem, again?

→ More replies (0)