Skip to content

Instantly share code, notes, and snippets.

@mdang
Last active August 9, 2016 23:29
Show Gist options
  • Select an option

  • Save mdang/6b451b00575cd2be4fe8 to your computer and use it in GitHub Desktop.

Select an option

Save mdang/6b451b00575cd2be4fe8 to your computer and use it in GitHub Desktop.
Meet Ivan Pakkitz

IP (Meet Ivan Pakkitz)

Pair exercise - 15 min

Ivan is a postal worker who can travel at the speed of light. He's happy to relay thousands of messages per second between you and a friend. However, he can only transport one message at a time, and it has to fit on an index card.

Unfortunately Ivan is incredibly inattentive, so there are a few minor limitations in his service:

  • Integrity: He cannot guarantee that all messages will arrive in their entirety
  • Order: He cannot guarantee delivered messages will arrive in the same order that they were sent
  • Recipient: He cannot guarantee that messages will always be delivered to the correct recipient

###Instructions

  1. Pick a partner and come up with a set of rules that will fix the issues presented above.

  2. Test out your plan using the index cards provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment