OLTP
medium 28 minOLTP, online transaction processing, is the work of recording business events as they happen: an order, a payment, a booking.
What each level should show
The same question is judged differently for mid, senior and staff.
Mid
Must show
- Explains OLTP and OLAP
- Designs normalized tables
- Uses a transaction for an order
Will be probed on
- Overselling
- Indexes on foreign keys
- Rollback
Stands out
Writes the conditional update without being asked.
Senior
Must show
- Keeps remote calls out of transactions
- Finds the hot row and its limit
- Handles deadlocks and retries
Will be probed on
- Pools
- Replica delay
- Moving reports away
Stands out
Calculates lock time and peak before choosing a design.
Staff
Must show
- Plans growth step by step with triggers
- Chooses partition keys around transactions
- Owns failover and recovery goals
Will be probed on
- Across services
- Live schema changes
- Cost of exactness
Stands out
Removes the need for distributed transactions instead of adding them.