Index

The Contract at the Counter (API design)

The Contract at the Counter
The Contract at the Counter · Open board

The System Design board about how two services meet. They never see inside each other. They meet at a counter, across a written list of what you may ask for and what comes back, and this lesson is about writing that list so strangers can still use it in three years. There is a video of this board: the contract at the counter.

Before you start. You need two facts: that programs talk to each other over a network, and that a network sometimes loses the message, so the sender is left not knowing whether it arrived (How a parcel finds any house on earth has the packets underneath, if you want them). The rest of the story is an auction site, a court order and a menu.

Continue reading with a plan

The first three lessons of every track are free. This lesson is included with a plan, which unlocks every lesson, board, video, lab and paper for one price.

View plans →Already a member? Sign in

Review System Design →

Saved in this browser, and to your account when you sign in.