Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 417 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 417 Bytes

rush shopping

Various constrains

  1. Stock of items.
  • Oversold to a certain extent is permitted.
  • Oversold is not permitted.
  1. Cart.
  2. Order.
  • Items in one cart should be ordered together, or not.
  • Items in one cart could be split if stock of some items is insufficient.
  1. Pay, money should keep strong consistency.

front-end web service

back-end key-value store

offline batch analysis