InterviewLegend

Design an Event Store

Commonly asked
Alex Chen24 min readAdded 197 real interview reports

A Twilio L3 candidate posted this in September 2026 as the final high-level design round of a remote loop in India. Their coding rounds went well, and the feedback from this round is what led to the rejection. Two follow-ups are on record. The interviewer asked "Why Kafka? Why not write directly to the DB?", and later pressed on a couple of redundant columns in the schema. The same candidate said the problem was vague at first and they cleared it up with clarifying questions. Looking back, they felt they could have structured the design better and talked through trade-offs more. That's a fair read of what gets graded here.

"Event store" sounds like a small job. Append rows, read them back. The hard parts hide in three places. Sources retry, so one event can arrive two or three times and still has to land once. Writes are heavy and bursty, and a sender shouldn't wait on a slow database. And the interviewer will read your schema line by line, so each column needs a reason you can say out loud. An October 2025 L1 loop asked for something close: an audit system for e-commerce platforms, "with a focus on the data aspect." That one has its own section near the end.

The Twilio angle
Taking in events from many sources, deduplicating them and keeping a durable log is what Twilio Segment sells. Segment's public spec gives every event a messageId, and its engineering blog has described deduplicating on it inside a Kafka pipeline. Your answer sits close to a system Twilio runs, so details will get checked.

TwilioPremium lesson · System design round

The Twilio design, worked end to end.

  1. Requirements and scopeSystem design
  2. The API and data model
  3. The design, drawn out1 diagram
  4. 4 deep divesWith the tradeoffs
Get the Twilio questions

$49 a year · all 108 companies · instant access

197 Twilio interview reports · guide updated

Twilio interview guide

Know what Twilio asks before you walk in.

30 coding · 4 system design · 18 behavioral questions

Get Premium$49 a year · Instant access
Or start freeNo card.

Get their questions first.

Had your Twilio interview?How we research

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.