Summary
A program slows down when the work it needs to do sits too far away. People and teams fail the same way, and so do firms that commit to more technology initiatives than they can staff. Batching work, caching decisions, and running fewer things at once keeps all three fast.
Technology leaders usually treat the pressure to build new features or advance product capabilities as a staffing question or a culture question. They aren't wrong, but the underlying logic works a lot like the problem of machine memory management for software engineers. There's a strong analogy between memory-based reasons why software runs slowly and the factors that cause teams to struggle.
Whether you're familiar with this level of detail or not, one of the most important design principles in software design is figuring out how a program uses memory. The processor itself can respond almost instantly. You get more storage space but less processing speed when you pull data from a machine's RAM, a disk, or a network. At every step, the engineer increases capacity by spending time, so the largest tier is also the slowest. What a program asks for at any given moment is called its working set, and the principle is to keep what's happening as responsive as possible.
When a program constantly has to request different resources, the machine has to keep swapping and releasing pages from memory. It spends its cycles moving pages around instead of running the program. A program in that state keeps looking up different files, loses its cache, and runs very slowly. In computer science, this is called thrash.
It's hardly a new phenomenon. In 1968, Peter J. Denning named the problem thrashing. “The term thrashing denotes excessive overhead and severe performance degradation or collapse caused by too much paging. Thrashing inevitably turns a shortage of memory space into a surplus of processor time.”i The term has outlasted every wave of programming languages, development methodologies, and underlying hardware.
Even nontechnical leaders can see how this analogy applies to situations where teams become heavily distracted and constantly need to switch context.
Most modern professionals feel their own sort of thrash. We're all familiar with juggling between meetings, emails, Slack or Teams messages, and multiple projects. Days that demand working on all of these at once can feel exhausting.
Development teams feel this pressure. Every incoming bug and every new feature request can seem like the most important thing. But each switch costs you. You lose context, and then you have to build context, just like a program reaching for the disk or the network to get resources. That kind of thrash only accumulates over days, weeks, and months.
If engineering offers an analogy for the problem, it also provides a model for the solution. In software, batching tasks helps reduce thrash and switching in and out of memory. With the to-do list, a simple parallel is to time-box what you’re doing and let something wait rather than answering it now. When you write down where you left off, you build a local cache. That running list of what remains means you stop holding the state in your head, so coming back to the task costs you a read instead of a reconstruction.
One caveat, however, is that batching stops working where a role depends on response time itself. On a frontline support desk, response time is part of quality. Interruption is inherent to the job. A schedule designed to protect deep blocks would cause support team members to fall short of their service-level targets.
A development team runs the other way. Response time for most developers should run in days, because there should be a plan. The better the plan, the fewer emergencies each worker needs to address. Understanding these differences and allocating team members appropriately is the job of technology leadership.
Leaders of technology teams or entire technology organizations can make meaningful efforts to minimize all sorts of thrash. Part of doing so effectively lies in treating individual autonomy like a processor. When individual team members can make a call that would otherwise have taken a meeting, you prevent them from having to go all the way out to the disk or the network to make a decision.
When people can’t anticipate a decision, they stop and convene, which is the same event as the processor going all the way out to disk. The less connected the work is to what the firm says it values, the more people have to ask someone to know what to do.
But a principle settled in advance takes precedence over future questions. For example, one of our principles is that client data belongs to the client, are held in the client’s own environment, and are encrypted and protected by their specific keys. This put us ahead with some of the hard questions about generative AI. Because it’s the client’s data, it goes nowhere else, and no one had to argue whether or not to test our code against it.
If you keep pushing the thrash analogy higher, you could call that element cultural memory. It includes values and principles written down, published where anyone can reach them, and cited often enough in everyday decisions that a new hire should be able to decide correctly in 90 days instead of taking five years to absorb them. It also becomes key to managing turnover and new joiners.
A firm that runs technology as a core part of its business also has a kind of working set, the initiatives actually in flight. The fast tier is a capability the firm already holds, meaning the people who know the business and the systems already running. At this scale, a commitment costs capability rather than hours. Beyond that tier, an initiative waits on capabilities you have to go get, whether that means hiring for them or building them from nothing. Knowing what share of your active portfolio sits in that second group is essential for understanding the load you're carrying.
There's also a way that companies can virtually guarantee thrash. Commit to more far-tier work than you can staff. Every time a new priority arrives, resequence the work. Because the team assembled around the shelved initiative disperses, the cost is far more than a schedule slip. The context also evaporates. As this pattern repeats, each initiative sits unfinished, and requesters end up with nothing.
Coming back to the engineering analogy, batching becomes concentration, which means funding fewer initiatives at a level that finishes them. For caching, publish the sequence. Say what runs now and what waits, and give a date rather than a yes, since you have the time to estimate and make a plan. That gives each team and worker the transparency they need related to the order or priority.
Denning already found a telling answer to the large-scale implications of thrash. He tested on a saturated machine and found that, "The presence of one additional program has caused a complete collapse of service." While he was concerned about running arithmetic calculations in memory, the same thing happens with a company's portfolio of technology initiatives. Solving for thrash means choosing to do excellent work on fewer things than average work on many.
Matt Katz
As Arcesium's Field CTO, Matt leads Arcesium's Forward Deployed Software Engineering and Client Success teams. His work to empower clients and simplify technical challenges stems from a 25-year career in financial technology working with clients and software. Outside of work, he enjoys books, bikes, and boards.
Sources:
i ACM, 1968. https://dl.acm.org/doi/10.1145/1476589.1476705
No spam. Just the latest releases and tips, interesting articles, and exclusive interviews in your inbox every week.