BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News How Relevant Are The Fallacies Of Distributed Computing Today?

How Relevant Are The Fallacies Of Distributed Computing Today?

Bookmarks

Tim Bray of Sun Microsystems writes of the Fallacies of Distributed Computing; He observes that despite its profound implications when designing distributed systems, “you don’t often find them coming up in conversations about building big networked systems”.

Tim believes that the reason that some of the fallacies may not seem as relevant is probably because a multitude of applications today are built on web technologies; and the web lets you believe some of them (fallacies). He examines each of the fallacies in the context of the web, and explains why some of them continue to remain fallacies but are somewhat mitigated or at least appear to be mitigated by web technologies.

1. The network is reliable

HTTP […] connections are brief; Compared to a traditional networked system with connections whose lifetime approximates that of the application.

Second, the clarity about GET, PUT, and DELETE being idempotent, while POST isn’t, helps hugely. [for e.g.] if a GET gets a network blowup, just do it again. [T]his places very clear boundaries around the repair and recovery that an app needs to handle.

2. Latency is zero

The Web […] requires connection setup/teardown [and] users ha[ve] internalized this, and [are] aware of the difference between the normal single-digit number of seconds it takes for a nicely-functioning server to assemble request results and get them to you, and behavior under overload.

3. Bandwidth is infinite

4. Transport cost is zero

These are quite evident by news of recent bandwidth caps. Or As Tim puts it “Time after time, you’ll see messages, between computing civilians, of the form “Sorry that this picture is so big””.

5. The network is secure

This is probably the fallacy least-well-addressed by the Web. Anyhow, the Web technologies mean that application builders can survive even while subject to one or more of The Fallacies. But not this one.

6. Topology doesn't change

By making almost all our apps Web-based, and thus having everyone address everything with URIs, we all agree to share solutions to routing and addressing problems; [which] means that application builders almost never have to think about the problem.

7. There is one administrator

Well yeah, there isn’t. But who cares, any more? Web architecture makes addressing decentralized.

8. The network is homogeneous

The Web doesn’t do APIs and object models, it’s just a set of agreements over what messages you’re going to send and what messages expect back in return. Which, as a side-effect, makes heterogeneity a non-issue.

Tim concludes his post with a word of caution

if you’re building Web technology, you have to worry about these things. But if you’re building applications ON it, mostly you don’t. Well, except for security; please don’t stop worrying about security.

Rate this Article

Adoption
Style

BT