GOAT EngineerPreparing your learning space…

Practice problems · Category

Inventory & contention problems

Many users want very few items.

An inventory problem is one where many users want very few items at the same moment. The check and the take have to be one step in one place, a hold has to expire if nobody pays, and the standby that protects that place must not sell what the first store already sold.

The inventory & contention problems

  1. Ticket Holds That Expire: Practice Problem

    Hold a ticket while the buyer pays and release it when they walk away, without selling one twice while a store is down. Practise atomic claims.

By GOAT Engineer. Practice problems · Privacy Policy · Contact.