The Function Call That Can Run Twice
System Design

The Function Call That Can Run Twice

Subtitle: It reads like local code. It is a network.

The one-clause fix:

- Give the request a key the server remembers, so the second arrival returns the first result instead of doing the work again.

Taped rule strip: The resemblance is the defect.