Day 304 — The latency hierarchy, in numbers rather than adjectives

Sunday, 6 June 2027 · Week 44 of 52 · Microstructure · Study day · 60 min

Fast is not a property, it is a set of specific durations, and knowing them separates a sensible statement about what you can and cannot do from a vague one.

What you should be able to do tonight

  • State the latency of a cache reference, a memory reference, an SSD read, a data centre round trip and a Chicago to New York round trip, to an order of magnitude.
  • Say which of your own operations are bounded by which of those, measured rather than guessed.

Tasks 60 min

25 min Check your five guesses and fix the wrong ones, then add three more: a network round trip within a rack, a Python function call, and a numpy operation on a thousand-element array. Write all eight on one card with the units aligned so the ratios are visible.

35 min Measure your own stack: time your signal computation, your order submission round trip to the paper broker, and your data pull. Then place them on the same scale as the eight reference numbers. Your submission round trip is probably five orders of magnitude above the exchange’s matching time, and knowing that number precisely is what makes tomorrow’s argument concrete.

Resources

Deliverable

An eight-entry latency card with your own measured stack latencies placed on the same scale.

Checkpoint

Roughly how long does an L1 cache reference take, a main memory reference, a random SSD read and a data centre round trip? Now say why that changes how you would store a tick database.

Prepare for tomorrow

Ten minutes tonight so Day 305, Monday, 7 June 2027 starts clean. This is what the evening email sends you.

Read the abstract and introduction of the Budish, Cramton and Shim paper on the high-frequency arms race.

Write down the specific inefficiency they identify. It is a mechanism design point rather than a complaint.

Two sentences.