The interview problem
A customer's timeline shows a response occurring before its request. Determine whether the workflow is wrong or the clocks are.
Original practice, not a reported company interview. Scenarios and numbers are illustrative. Interview date: not applicable. Sources retrieved October 1, 2026.
1. Scope and worked approach
Assume events contain source timestamps, receipt timestamps and correlation IDs. Trace causal identifiers first, then estimate clock offsets using controlled exchanges and infrastructure time status. Preserve original timestamps and record any display correction separately. Use sequence numbers or explicit causality for within-stream ordering where available. Agree with the customer which timestamps drive billing, SLAs and user displays rather than silently replacing them.
2. Trace the design or derivation
Correlate IDs → preserve source time → measure offset → infer causal order → annotate uncertainty
The incident report should show both raw and interpreted timelines. Avoid rewriting stored event timestamps merely to make charts look ordered. If contractual duration depends on two different systems' clocks, recommend a jointly agreed measurement boundary or uncertainty allowance rather than asserting precision unsupported by synchronization evidence.
3. Calculate the example
Service A records a request at 12:00:05 while service B, whose clock is ten seconds slow, records receipt at 11:59:57. The negative eight-second apparent delay is compatible with a real two-second transit.
4. Failure cases and trade-offs
Network asymmetry makes offset estimation uncertain, and clock corrections can move wall time backward. Sorting all events by wall clock creates false causal claims. Monotonic clocks help local durations but are not globally comparable timestamps.
5. Validation, follow-ups and self-review
Inject offset, backward adjustment and delayed delivery in a test timeline. Follow-up: how would you present uncertain cross-system order? Self-review: distinguish event time, observation time and causal order.
Sources and related practice
Technical reference: www.rfc-editor.org — Clock synchronization and offset concepts.
Source publication/update: June 2010. Retrieved October 1, 2026. The workflow, calculations and review exercises are original; this reference is not evidence that a company asked this question.
Continue with Agree on business-hour deadlines across time zones; Design a distributed tracing ingestion service.
Continue your preparation
Choose a connected learning path or browse more FDE interviews questions. Read our editorial method and attribution policy.