AlgoViz

Design an inventory management system

medium 80 min

Count goods in several places, promise them to orders without ever promising too much, ship or let go, and explain every count.

Watch lesson4:28

Agree on the scope

Ask what changes the design, then commit to a short list.

Agree

The scope in one minute

"Several places, pieces that are all the same. An order holds several products or none, for fifteen minutes. It ships, is released or expires. The place is chosen by a rule. I report low stock once. I keep a ledger. Prices, payment and suppliers are outside. One process with threads."

Today

  • Receive, reserve, ship, release, expire
  • Several places
  • Rule for the place
  • Alert and ledger

Extensions, named

  • Dates and batches
  • Transfers
  • Backorders
  • A database