Skip to main content

10 Papers Every Software Engineer Should Read (With Links)

What they say, why they still matter, and where to read them for free

Updated 10 min readMarkdown

These ten papers keep showing up in my work. They are not a history lesson. They are the ideas behind encapsulation, clocks in distributed systems, supply-chain risk, where to put a feature, why a new tool did not make the project easy, and the architecture behind today's language models.

I checked the citations against Crossref, publisher pages, arXiv, and the original PDFs, and I linked a free or official copy of each paper.

1. On the Criteria To Be Used in Decomposing Systems into Modules (Parnas, 1972)

D. L. Parnas, "On the Criteria To Be Used in Decomposing Systems into Modules," Communications of the ACM, vol. 15, no. 12, pp. 1053–1058, December 1972. doi: 10.1145/361598.361623. PDF.

This is where information hiding comes from, the idea behind encapsulation, APIs and service boundaries.

Parnas compares two ways of splitting a system. The usual way follows the steps in a flowchart: each major processing step becomes a module. The better way hides a design decision behind an interface, so the rest of the system does not depend on how that decision was implemented. I still use this when I draw a module, an API, or a service boundary. The question is which decision this component should be able to change later, without asking everyone else to change with it.

2. Time, Clocks, and the Ordering of Events in a Distributed System (Lamport, 1978)

Leslie Lamport, "Time, Clocks, and the Ordering of Events in a Distributed System," Communications of the ACM, vol. 21, no. 7, pp. 558–565, July 1978. doi: 10.1145/359545.359563. PDF.

It introduced logical clocks and the "happened-before" relation for reasoning about concurrency.

In a distributed system there is often no single, reliable "now." Lamport shows that "happened before" is only a partial order: some events really precede others, and some are simply concurrent. Logical clocks assign numbers that respect that order, so you can talk about causality without trusting physical clocks. If you have ever argued about which write "won," or why logs from two machines cannot be sorted by timestamps, this is the paper that names the problem.

3. Reflections on Trusting Trust (Thompson, 1984)

Ken Thompson, "Reflections on Trusting Trust," Communications of the ACM, vol. 27, no. 8, pp. 761–763, August 1984. Turing Award lecture. doi: 10.1145/358198.358210. PDF.

It's still the clearest warning about compiler and supply-chain risk.

Thompson shows, in three pages, that a compiler can hide a backdoor. It can tamper with a login program and teach itself to reinsert both that tampering and its own hook, even after you have cleaned the compiler's source. Reviewing the source is not enough, because the infection lives in the toolchain. The setting is 1980s C and Unix, but package registries, container images, and build plugins are the same kind of problem.

4. End-to-End Arguments in System Design (Saltzer, Reed, and Clark, 1984)

J. H. Saltzer, D. P. Reed, and D. D. Clark, "End-to-End Arguments in System Design," ACM Transactions on Computer Systems, vol. 2, no. 4, pp. 277–288, November 1984. doi: 10.1145/357401.357402. PDF.

It argues you shouldn't push a function into a lower layer unless it truly belongs there.

Functions such as reliability, encryption, or delivery acknowledgements can often be completed correctly only by the application at the endpoints, because only the application knows what "correct" means. A checksum in the network does not replace a check at both ends of a file transfer. A lower-layer feature can still help performance, but it is not a substitute for that end-to-end check. I think about this whenever a platform feature is offered as a way to stop thinking about the problem: "the queue is durable," "the API gateway will retry."

5. No Silver Bullet (Brooks, 1987)

Frederick P. Brooks, Jr., "No Silver Bullet: Essence and Accidents of Software Engineering," IEEE Computer, vol. 20, no. 4, pp. 10–19, April 1987. doi: 10.1109/MC.1987.1663532. First published in Information Processing 86 (IFIP, 1986). PDF.

No tool or method will make software easy, because the hard part is the problem's essential complexity.

Brooks splits the difficulty of software into essence and accident. The essence is the conceptual construct: the data, the rules, and the need to get them precise. The accidents are the work of representing that construct in a particular language or tool. High-level languages had already cut a lot of the accidental work, which is why he was pessimistic about a single breakthrough that would make software an order of magnitude easier. When a new method or model is sold as the thing that will finally make building software easy, the useful question is which part of the work it actually removes. Typing is getting cheaper. Deciding what the system should be is not.

6. MapReduce (Dean and Ghemawat, 2004)

Jeffrey Dean and Sanjay Ghemawat, "MapReduce: Simplified Data Processing on Large Clusters," in Proceedings of the 6th USENIX Symposium on Operating Systems Design and Implementation (OSDI '04), 2004, pp. 137–149. USENIX PDF. Google Research copy.

It's the abstraction that shaped Hadoop, Spark and modern data processing.

You write a map function that turns a record into intermediate key/value pairs, and a reduce function that merges the values for each key. The runtime partitions the data, schedules the work, retries failed tasks, and moves the results. Hadoop and Spark do not look like the 2004 implementation, but they still ask you to describe the transformation and let the platform deal with the cluster.

7. Out of the Tar Pit (Moseley and Marks, 2006)

Ben Moseley and Peter Marks, "Out of the Tar Pit," Software Practice Advancement (SPA), 2006. No Crossref DOI. PDF.

Much of our complexity is accidental, mostly from sprawling state, and it can be cut down.

The authors take Brooks's distinction between essential and accidental difficulty, then argue that much of the complexity we still live with is accidental: mutable state, large volumes of code, and explicit control flow. They sketch a style they call functional relational programming. You do not have to adopt that sketch to get the point. The useful habit is to ask, of a tangled module, how much of the state is actually part of the problem. At 66 pages, this is the longest paper on the list, and it is easier after you have read Brooks.

8. Dynamo (DeCandia et al., 2007)

Giuseppe DeCandia, Deniz Hastorun, Madan Jampani, Gunavardhan Kakulapati, Avinash Lakshman, Alex Pilchin, Swaminathan Sivasubramanian, Peter Vosshall, and Werner Vogels, "Dynamo: Amazon's Highly Available Key-value Store," in Proceedings of the 21st ACM Symposium on Operating Systems Principles (SOSP '07), 2007, pp. 205–220. doi: 10.1145/1294261.1294281. PDF.

It's Amazon's account of trading strict consistency for availability, and the basis of many NoSQL systems.

Dynamo is a highly available key-value store, designed so that a service such as a shopping cart can still accept a write when a disk or a data center is unhappy. The paper is frank about the trade: they give up strict consistency to stay available under failure. Consistent hashing, sloppy quorums, hinted handoff, vector clocks, and eventual consistency became a template for systems such as Cassandra. The useful lesson is not "copy Dynamo." It is that availability is a product decision, and you should be honest about the consistency you gave up to get it.

9. In Search of an Understandable Consensus Algorithm (Ongaro and Ousterhout, 2014)

Diego Ongaro and John Ousterhout, "In Search of an Understandable Consensus Algorithm," in 2014 USENIX Annual Technical Conference (USENIX ATC '14), pp. 305–319. USENIX PDF. Extended version.

Raft is the most practical way to learn leader election and log replication.

Paxos is the classic consensus algorithm, but it is hard to teach and hard to implement faithfully. Raft aims at the same result with a different structure: a strong leader, a clear split between leader election, log replication, and safety, and a membership-change protocol. If you run Kubernetes, etcd, Consul, or any system built on a replicated log, this is the paper that explains the shape of that system.

10. Attention Is All You Need (Vaswani et al., 2017)

Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Łukasz Kaiser, and Illia Polosukhin, "Attention Is All You Need," in Advances in Neural Information Processing Systems 30 (NeurIPS 2017), pp. 5998–6008. NeurIPS PDF. arXiv:1706.03762.

It introduced the Transformer, the architecture behind today's large language models.

The paper replaces recurrent and convolutional sequence models with an architecture based only on attention. The Transformer uses scaled dot-product attention, multi-head attention, and positional encodings, and it can be trained with much more parallelism than an RNN. The original results are on machine translation; the same architecture was then scaled far beyond that setting. If you use large language models at work, this is the design they still rest on.

A suggested reading order

If you have a weekend, start with the short papers:

  1. Thompson (three pages). Read it in one sitting.
  2. Parnas.
  3. Brooks.
  4. Saltzer, Reed, and Clark.
  5. The introduction and the model section of Attention Is All You Need, if you want a modern finish.

That path is enough to get the vocabulary: information hiding, essential complexity, end-to-end reasoning, and trust in the toolchain.

For a deeper path, add Lamport, then MapReduce, then Dynamo, then Raft. Leave Out of the Tar Pit for a longer sitting; it is 66 pages, and it pays off after Brooks. Read Attention in full after the weekend start, not instead of it.

I build products, including SwissDevMap and Stockd, and these papers stay useful in ordinary product work: where a boundary should sit, what a system can promise, and which complexity you actually have to live with.

I write at ameetmadan.com.

Bibliography

  1. D. L. Parnas, "On the Criteria To Be Used in Decomposing Systems into Modules," Communications of the ACM, vol. 15, no. 12, pp. 1053–1058, Dec. 1972, doi: 10.1145/361598.361623. PDF.
  2. L. Lamport, "Time, Clocks, and the Ordering of Events in a Distributed System," Communications of the ACM, vol. 21, no. 7, pp. 558–565, July 1978, doi: 10.1145/359545.359563. PDF.
  3. K. Thompson, "Reflections on Trusting Trust," Communications of the ACM, vol. 27, no. 8, pp. 761–763, Aug. 1984, doi: 10.1145/358198.358210. Turing Award lecture. PDF.
  4. J. H. Saltzer, D. P. Reed, and D. D. Clark, "End-to-End Arguments in System Design," ACM Transactions on Computer Systems, vol. 2, no. 4, pp. 277–288, Nov. 1984, doi: 10.1145/357401.357402. PDF. Earlier conference version: 2nd International Conference on Distributed Computing Systems, Paris, 1981, pp. 509–512.
  5. F. P. Brooks, Jr., "No Silver Bullet: Essence and Accidents of Software Engineering," IEEE Computer, vol. 20, no. 4, pp. 10–19, Apr. 1987, doi: 10.1109/MC.1987.1663532. First published in Information Processing 86, H.-J. Kugler, ed., Elsevier, 1986. PDF (UNC TR86-020, Sept. 1986).
  6. J. Dean and S. Ghemawat, "MapReduce: Simplified Data Processing on Large Clusters," in Proc. 6th USENIX Symp. Operating Systems Design and Implementation (OSDI '04), San Francisco, CA, 2004, pp. 137–149. USENIX PDF. Later version: Communications of the ACM, vol. 51, no. 1, pp. 107–113, Jan. 2008, doi: 10.1145/1327452.1327492.
  7. B. Moseley and P. Marks, "Out of the Tar Pit," Software Practice Advancement (SPA), 2006. Manuscript dated 6 Feb. 2006. No Crossref DOI. PDF.
  8. G. DeCandia, D. Hastorun, M. Jampani, G. Kakulapati, A. Lakshman, A. Pilchin, S. Sivasubramanian, P. Vosshall, and W. Vogels, "Dynamo: Amazon's Highly Available Key-value Store," in Proc. 21st ACM Symp. Operating Systems Principles (SOSP '07), Stevenson, WA, 2007, pp. 205–220, doi: 10.1145/1294261.1294281. PDF. Also in ACM SIGOPS Operating Systems Review, vol. 41, no. 6, pp. 205–220, 2007.
  9. D. Ongaro and J. Ousterhout, "In Search of an Understandable Consensus Algorithm," in 2014 USENIX Annual Technical Conference (USENIX ATC '14), Philadelphia, PA, June 19–20, 2014, pp. 305–319. USENIX PDF. Extended version.
  10. A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, Ł. Kaiser, and I. Polosukhin, "Attention Is All You Need," in Advances in Neural Information Processing Systems 30 (NeurIPS 2017), pp. 5998–6008. NeurIPS PDF. arXiv: 1706.03762, doi: 10.48550/arXiv.1706.03762.

No comments yet. Be the first to comment.