Bitpath

Lesson 1 · Unit 01

Partial failure

No reply tells you almost nothing

11 exercisesabout 3 min

What you practise

  • A request can be lost, the reply can be lost, or the server can be slow: you cannot tell which
  • Timeouts are guesses
  • The fallacies of distributed computing

Try a question from this lesson

Pick one

Your app asks a payment service to charge a card and waits. Five seconds pass with no reply. What do you know for sure?

The idea

Concept cards are short on purpose. In the app they appear between questions, after you have met the idea.

Concept

Partial failure

On one machine a function call either returns or the whole program dies with it. Across a network, one part can fail while the rest keeps running, and the caller cannot see which part.

That is partial failure. Every hard problem in this roadmap grows from it.

client               server
  |---- request ---->|   lost on the way?
  |                  |   crashed? slow?
  |<---- reply ------|   lost on the way?
  |
  ?   all the client sees: nothing yet

9 more exercises in the app

  • 1× match the pairs
  • 2× type the answer
  • 1× true or false
  • 3× multiple choice
  • 1× order the lines
  • 1× fill the blanks

Bitpath is an iOS app in development. Join the waitlist and you get one email when it is ready to try.

One email when Bitpath is ready to try. Nothing else. Privacy