Everyday explainer · Video
Why do school systems keep breaking? Are the engineers just bad?
School systems often break down not because the code is bad. They grow in the shape of the school, get amplified by everyone’s reactions, and depend on people you never see, which is why they are hard to change.
Chapters
- Opening
- Level 1: Write the requirements down
- Level 2: Connect the departments
- Level 3: Name the system
- Level 4: Survive the first minute
- Level 5: Find where the spike comes from
- Level 6: Get everyone to follow the rules
- Level 7: Try to replace the old system
- Level 8: Understand what the other side is saying
- The reveal
- Practice: What you can do from your own position
- Ending
Key points
- School systems often break down not because the code is badly written, but because three mechanisms stack on top of each other: the system takes the shape of the organization, everyone’s reactions amplify the problem, and people you cannot see depend on it.
- The system takes the shape of the organization: each unit requests its own features and connects its own system, so the system is cut along the unit boundaries, which is why the portal keeps asking you to log in again.
- Reactions amplify the spikes: everyone opens at the same minute, everyone refreshes when stuck, and the system retries automatically, so the load piles up layer by layer.
- Invisible dependencies keep old systems from being replaced: once enough people use a system, every behavior you can see has someone relying on it. If you do not know why a piece of code exists, do not tear it out yet.
- Every position has a step it can take: write requirements as sentences that can be verified, estimate the number of concurrent users before changing a rule, record what a system currently does before replacing it, and include the system name, the time and the error code when you report a fault.
Full transcript
Show transcript
Opening
As a student, I have always felt that school systems are seriously awful. I am sure you have run into these too: at the exact minute course registration opens, the screen keeps spinning until an error page finally pops up. Or you open the school portal, have just logged in, click to check your grades, and it asks you to log in again. Then every three months the system pops up and says, “Your password is about to expire. Please change it.” So what do you do? You add 1 to the last character, or tack on “ABC,” press confirm, and move on. When these things happen, I think most people have the same thought: are the school’s engineers just bad? Or maybe there is simply no money, they are so poor. But this time I went through the research, and what I found out about how these kinds of systems fail in the industry and abroad is a bit surprising: badly written code usually accounts for only a small part. So what is the rest? Let’s walk through a simple task: the school wants students to request leave online.
Level 1: Write the requirements down
Paper leave requests are very simple: the student fills in the form, the teacher signs, the department office stamps it, and that’s it. To move this online, the first step is a meeting to write down what the system should do, as a requirements document. Then, at the meeting, the supervisor says one thing: “It needs to be very intuitive to use.” That sentence gets written straight into the document. Of course the problem follows: once the system is built, how do you test this “intuitive”? You can’t, really. Requirements engineering has an international standard, ISO 29148, and one of its criteria for a good requirement is that it must be verifiable. “Intuitive” cannot do that; but if it is changed to “a new student can submit a leave form within three minutes without reading the instructions,” that can be verified. Then each unit adds one item. Student Affairs says certain leave types must first be reviewed by the student counseling section; the HR office says, why not make leave for faculty and staff part of it too. Each item looks reasonable on its own, but added together, the leave system slowly grows into a campus-wide administrative platform, while the schedule and budget do not change to match. This is called scope creep. So who makes the final call? Usually the most senior person in the room. The industry also has a half-joking acronym, HiPPO, short for “highest paid person’s opinion.” Now the requirements are written, and the next step is connecting the pieces from each unit. What comes up at that step?
Level 2: Connect the departments
The school usually wants students to log in once and be able to use every system. That is called SSO, Single Sign-On. You can see whether it is working right in the address bar: when you log in, the URL first jumps to a separate site that handles identity verification, and then jumps back after verification. That means the system is connected. If it is not connected, another username and password box pops up when you click in, for that system’s own account. But why can some systems not be connected? Because the grading system may have been bought by the Academic Affairs Office on its own, the library uses another vendor, the dormitory still runs on old accounts, and the sports office may even just use a form. Behind every system there is a unit, a contract, and its own set of accounts. In 1968, an engineer named Melvin Conway wrote a passage that people later called Conway’s Law: organizations that design systems produce designs that copy their communication structures. So, simply put, if a school has several units that each manage their own things, its systems will have several separate entrances. The “integrated portal” that gets built is usually just a one-page list of links, where each link still needs its own login, so it is really more like a row of bookmarks. So does the naming of the systems also follow the shape of the organization?
Level 3: Name the system
Yes, and it is very common. System names are often written for the people who audit projects and award prizes, not for the people who use them. A search box labeled “smart search” may actually be nothing more than string matching. This happens so often that it has a name: AI-washing. In March 2024, the US SEC penalized two investment advisers that claimed to use AI when they did not. So this is where the first mechanism shows up: the system takes the shape of the organization. Requirements take the shape of the power structure in the meeting room, the system’s boundaries take the shape of the unit boundaries, and the names take the shape of the budget language. So I see it this way: the engineers are building a house in the shape of the organization, rather than the engineers being bad. A lot is tied up in this. Now the house is built. What happens at the moment it officially opens?
Level 4: Survive the first minute
Let’s assume this: before launch, the IT center ran a stress test, simulating 5,000 people logging in at once, and the system, uh, passed. But on the morning course registration opened, it went down in less than a minute. This scenario is my own example, but its shape keeps showing up in registration-season news, and I have run into it myself. So where is the difference? The test program is very well behaved: it sends one request and patiently waits for the result. Real people are not like that. The moment the screen freezes, everyone starts hitting F5, refreshing over and over. Each press sends the server another request, the system gets slower, and more people hit refresh. That is a positive feedback loop, where the result amplifies the cause. Marc Brooker, an engineer at Amazon Web Services, worked through an example: a request passes through five service layers, and if each layer retries two or three times on failure, the database at the bottom receives 243 times the original requests, that is, three to the fifth power. But the bigger problem is that once this loop starts, the system still cannot speed up even after the initial crowd has left, because the loop of “slow, retry, slower” holds itself up. A 2021 systems research paper gave this a name: metastable failure. So the question is not just whether the server is big enough, but where that wave of people came from.
Level 5: Find where the spike comes from
Often the spike is produced by the rules themselves. First come, first served, combined with everyone opening at the same time across campus, effectively squeezes a whole semester’s traffic into the same minute. But if the Academic Affairs Office decides this year that the whole grade registers on the same day, without telling the IT center, then the system will face several times last year’s crowd while knowing nothing about it. After something goes wrong, the review often reaches a conclusion like “the IT center did not have a grip on the requirements.” But the British psychologist James Reason offered a much-cited image, the Swiss cheese model: every layer of defense has holes, and an accident happens when several holes line up. If you only look at the last layer, the earlier holes are still there, but nobody reviewed them. So Google’s operations team made blameless postmortems a team creed. And the holes are not necessarily in the software. In July 2022, during the British heat wave, London passed 40°C, and at one of Google Cloud’s London data centers, several backup cooling systems failed at the same time, so part of the machines had to be shut down. The uninterruptible power supplies could keep the power on, but not the cooling. Rules can create crowds; can rules also create other things?
Level 6: Get everyone to follow the rules
Yes, and the best example is the password that changes every three months, from the opening. The purpose of the rule is that even if a password is stolen, it will expire after a while. But people do not want to come up with a completely new password every three months, and how many could they really keep? So they change the old one by one character, add an exclamation mark, increase a number, or add an A, B or C. Then an attacker who gets the old password can guess the new one quite easily. In other words, the rule changes people’s behavior, and people’s behavior in turn makes the rule fail. The US National Institute of Standards and Technology, NIST, publishes an identity verification guideline that many organizations follow, numbered SP 800-63B. Its fourth edition, finalized in 2025, states directly: do not require users to change passwords periodically; force a change only when a password may have been compromised; and do not require a mix of upper and lower case letters or symbols. Instead, require passwords to be long enough, and pair them with multi-factor authentication, such as the common 2FA. Input fields are the same story: if you design an age field, someone will enter a negative number; if you only accept English letters, someone’s name will contain a character you never imagined. People’s reactions to a system always exceed what the designer imagined. So the second mechanism is positive feedback: however the system treats people, people respond, and that response in turn amplifies the problem. Hearing this, you might think: if it is this messy, why not just tear the whole thing down and rewrite it?
Level 7: Try to replace the old system
It is not that simple. Many large organizations have an old system that nobody dares to touch. In 2019, the US Government Accountability Office, GAO, published a report listing the ten federal legacy systems most in need of replacement; the oldest had been in use for 51 years, and some still ran on a language called COBOL, with fewer and fewer people left who could maintain it. In 2020, during the pandemic unemployment wave, the state of New Jersey received more than 300,000 unemployment benefit claims within two weeks, and the governor publicly sought COBOL volunteers, because the system that handles claims had been in use for more than 40 years, and people who knew it were disappearing. So why not replace it earlier? Google engineer Hyrum Wright put it in a saying that became known as Hyrum’s Law: with enough users, what you promised stops mattering; every observable behavior of a system will be depended on by someone. In other words, that messy, undocumented program may be holding up an office’s morning report, an old printer, or a downstream system that only recognizes the old format. You think you are clearing out junk, but you may be pulling up someone else’s floor. Nearly a hundred years ago, the British writer Chesterton used an analogy: on a road there is a fence, and you do not know why it is there, so do not tear it down; first find out what it is blocking. So what does this invisible dependence look like when something breaks?
Level 8: Understand what the other side is saying
It sounds like a customer service call. “I can’t log in.” “What does the screen say?” “It just says failed.” “Is there any other text?” “There is a string of English, it is too long.” The engineer sees the error code and the system log, while the user sees only: the blue thing, the system is broken. There is no shared language in between. So: Nielsen Norman Group, which does usability research, has a set of ten interface principles, and the ninth is about saying in plain language what happened and how to fix it, so the user can understand the error and recover from it. So the third mechanism is called invisible dependence. Behind the system there are people you cannot see who are using it; and on the front end there are people the engineers cannot see who are using it too.
The reveal
So, back to the question from the start: are school systems this bad because the engineers are bad? After all these stories, there are quite a few conclusions. The most important one is this: school systems often break down not because the code is truly terrible, but because they grow in the shape of the school, get amplified by everyone’s reactions, and depend on people you cannot see, which makes them hard to change. These match the three scenes from the opening exactly: the portal asks you to log in again because the system takes the shape of the organization; the spinning circle when course registration opens is a positive feedback loop; a system that is very old but that nobody dares to replace reflects invisible dependence.
Practice: What you can do from your own position
None of these three mechanisms can be changed by one person alone, but for each one, someone at some position has made a decision. So next I will go through them one by one, according to where we might each stand. First, if you take part in meetings and write requirements, for example as an administrative staff member, a teaching assistant, or a newly hired engineer: the place to look is the “feature description” or “acceptance criteria” column in the requirements document. The test is simple: does the sentence contain adjectives such as “intuitive,” “easy to use,” “fast,” or “smart”? If it does, the requirement has no way to be accepted. The first step is to rewrite it as: who, under what conditions, within how long, achieving what. The sentence “a new student can submit a leave form within three minutes without reading the instructions” is a good example. How do you confirm the rewrite is good? Find someone who did not attend the meeting, show them only this sentence, and ask: “Could you tell whether it was achieved?” If they can judge, then the requirement is really finished. Second, if you change rules, such as the course registration schedule, deadlines, or campus-wide notices: the place to look is the draft of the announcement, or the line for resolved items in the meeting minutes. The standard is: will this change make many people do the same thing at the same time? Opening to a whole grade at once, or having everyone’s deadline on the same day, counts. The first step, before the announcement goes out, is to add the IT center as a recipient and attach a sentence estimating the number of concurrent users, from how many to how many. Then, wherever possible, prefer changes that can be split up: registration within a time slot, a lottery afterward, or allocation by preference order. Peak loads are not survived by buying bigger machines, but by using rules to spread them out. How do you verify it? On the opening day, does the number of concurrent logins fall close to the number in the notice? In the postmortem, did anyone say “we did not know”? Third, if you need to work on an old system: the place to look is that system’s code, its scheduled jobs, or any list of batch jobs that run every day. The test is: can you say who uses this piece of code and what it is for? If you cannot, it is a fence you have not yet figured out. The first step is not to change anything yet, but to record what it actually does: what time it runs each day, what it outputs, and who receives it. The industry calls this a characterization test: fix the current behavior first, so that after a change you know whether anything broke. If you really need to replace it, do it piece by piece from the outside in, not rewrite everything at once. And verify by running the old and new systems in parallel for a while, comparing the outputs record by record, and confirming they are identical and that no unit comes back saying, “Our report is gone.” Last, if you are just a user, such as a student or a teacher: where you will meet the system is the course selection page and the error screens. What should you judge? Think about whether, when the screen freezes, your next action is helping or adding to the load. The first step: when stuck, do not keep hitting refresh; wait ten or so seconds and try again. If the system has a queue page, stay on it. When something goes wrong, take a screenshot or copy the error code on screen, if it gives one, and report it together with the system name and the time, instead of only saying “the blue one doesn’t work.” How do you know you did it right? When the first thing customer service says back to you is the solution, rather than asking, “Which system are you talking about?”
Ending
So the question from the opening can now be asked differently: not “are the engineers bad,” but: what does this system look like? Whose reactions are amplifying it? Who is depending on it in the background? The next time course registration spins in that circle, go ahead and complain, but you will probably know by then that what is spinning in that circle is not only the code. Of course, these three mechanisms also have their limits: if a system is written by one person and used by one person, then if the code is bad, it is really just bad code. I’m BaChe. See you next time, bye.
Sources
- ISO/IEC/IEEE 29148:2018 (ISO/IEC/IEEE 29148: one trait of a good requirement is that it is “verifiable”)
- How Do Committees Invent?, Datamation 1968-04 (Melvin Conway, 1968: organizations that design systems produce designs that copy their communication structures)
- SEC Press Release 2024-36 (Delphia, Global Predictions) (SEC, 2024-03-18: two investment advisers falsely claimed to use AI and were penalized (press release 2024-36))
- Marc Brooker, Timeouts, retries, and backoff with jitter, Amazon Builders' Library (Three retries per layer × 5 layers = 3⁵ = 243 times)
- Bronson et al., Metastable Failures in Distributed Systems, HotOS 2021 (Metastable failure, HotOS 2021)
- James Reason, Human error: models and management, BMJ 2000;320:768–770 (Swiss cheese model: every layer of defense has holes, and trouble happens when the holes line up)
- Google, Site Reliability Engineering, Ch.15 Postmortem Culture (Blameless postmortem)
- Google Cloud incident report (europe-west2-a) (2022-07-19: London heat wave above 40°C; several backup cooling systems at a Google Cloud London data center failed at the same time)
- NIST SP 800-63B-4 (NIST SP 800-63B-4 (2025): do not require users to change passwords periodically)
- NIST SP 800-63B-4 (NIST SP 800-63B-4: do not force a mix of character types; require length instead, together with multi-factor authentication)
- GAO-19-471 (GAO-19-471 (2019): ten federal legacy systems most in need of replacement; the oldest was 51 years old, and some still ran on COBOL)
- CNN 2020-04-08 (New Jersey, 2020: more than 360,000 unemployment claims in two weeks; the governor publicly sought COBOL volunteers for a system more than 40 years old)
- Hyrum's Law (Hyrum’s Law: with enough users, every observable behavior of a system will be depended on by somebody)
- G. K. Chesterton, The Thing (1929), "The Drift from Domesticity" (Chesterton’s Fence: if you do not know why a fence is there, do not tear it down yet)
- Nielsen Norman Group, 10 Usability Heuristics (NN/g heuristic 9: help users recognize, diagnose, and recover from errors)