Using the structure of physical oil trading to reason about queueing, risk layers, and software complexity.