ArticleslgStudy

computer science

Fallacies of distributed computing

Fallacies of distributed computing is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Fallacies of distributed computing rather than just read about it. In short: The fallacies of distributed computing are a set of assertions made by L. Peter Deutsch and others at Sun Microsystems describing false assumptions that programmers new to distributed applications invariably make.

Key takeaways

  • Fallacies of distributed computing belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Fallacies of distributed computing to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Fallacies of distributed computing from memory before moving on to harder problems.

Reference excerpt

The fallacies of distributed computing are a set of assertions made by L. Peter Deutsch and others at Sun Microsystems describing false assumptions that programmers new to distributed applications invariably make.

The fallacies The originally listed fallacies are

The network is reliable; Latency is zero; Bandwidth is infinite; The network is secure; Topology doesn't change; There is one administrator; Transport cost is zero; The network is homogeneous;

The effects of the fallacies Software applications are written with little error-handling on networking errors. During a network outage, such applications may stall or infinitely wait for an answer packet, permanently consuming memory or other resources. When the failed network becomes available, those applications may also fail to retry any stalled operations or require a (manual) restart. Ignorance of network latency, and of the packet loss it can cause, induces application- and transport-layer developers to allow unbounded traffic, greatly increasing dropped packets and wasting bandwidth. Ignorance of bandwidth limits on the part of traffic senders can result in bottlenecks. Complacency regarding network security results in being blindsided by malicious users and programs that continually adapt to security measures. Changes in network topology can have effects on both bandwidth and latency issues, and therefore can have similar problems. Multiple administrators, as with subnets for rival companies, may institute conflicting policies of which senders of network traffic must be aware in order to complete their desired paths. The "hidden" costs of building and maintaining a network or subnet are non-negligible and must consequently be noted in budgets to avoid vast shortfalls. If a system assumes a homogeneous network, then it can lead to the same problems that result from the first three fallacies.

History The list of fallacies originated at Sun Microsystems. L. Peter Deutsch, one of the original Sun "Fellows", first created a list of seven fallacies in 1994; incorporating four fallacies Bill Joy and Dave Lyon had already identified in "The Fallacies of Networked Computing". Around 1997, James Gosling, another Sun Fellow and the inventor of Java, added the eighth fallacy. In an episode of "Software Engineering Radio" Peter Deutsch added a ninth fallacy: "It's really an expansion of number 4. It extends beyond the boundaries of the physical network. ... The party you are communicating with is trustworthy." Later in 2020, Mark Richards and Neal Ford expanded upon the original "Fallacies of Distributed Computing" by introducing three additional fallacies to address contemporary challenges in distributed systems:

Versioning is simple Compensating updates always work Observability is optional

See also CAP theorem PACELC design principle Distributed computing Fine vs coarse grained SOA

References

External links Deutsch, Peter digital ability. "The Eight Fallacies of Distributed Computing". nighthacks.com. Retrieved 2024-07-24. Yoavi, Neli (January 2008). "Fallacies of Distributed Computing Explained". Retrieved 2024-07-24 – via ResearchGate.

Worked examples

Example 1 — a first encounter with Fallacies of distributed computing

Start with the simplest possible case. Write down what Fallacies of distributed computing claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Fallacies of distributed computing before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Fallacies of distributed computing ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Fallacies of distributed computing

In research
Fallacies of distributed computing appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Fallacies of distributed computing in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Fallacies of distributed computing is common in secondary-school and first-year university syllabi. It links to neighbouring topics Distributed computing architecture, Distributed computing problems, so understanding it makes those chapters shorter.
In everyday life
Look for Fallacies of distributed computing outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Fallacies of distributed computing” →

How to study Fallacies of distributed computing in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Fallacies of distributed computing means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Fallacies of distributed computing out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Fallacies of distributed computing in simple terms?

The fallacies of distributed computing are a set of assertions made by L. Peter Deutsch and others at Sun Microsystems describing false assumptions that programmers new to distributed applications invariably make.

Why does Fallacies of distributed computing matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Fallacies of distributed computing?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Fallacies of distributed computing.

Tags

  • Distributed computing architecture
  • Distributed computing problems

Keep exploring