Distributed

Lesson 08.3

Head-of-line blocking

Head-of-line blocking occurs when one slow item at the front of an ordered queue prevents independent fast items behind it from starting.

One huge image blocks tiny thumbnails

Ava uploads one huge cookie picture. Ben's tiny pictures should not wait behind the whole upload.

In this lesson you'll

  1. 1Explain why a slow running job blocks the line, then separate independent work.
  2. 2Predict what changes before revealing the result
  3. 3Help Ava keep the rules during the new rush