5/10
Technical Architecture & AI Engineering · 7 min read

System Design: Real-Time Collaborative Document and State Sync Engine (CRDT vs. OT)

Architect a 50,000-room collaborative editing platform with sub-100ms sync latency, sticky WebSocket routing, CRDT offline merge support, and compacted snapshot storage.

Role-Play Scenarios (3)15-Min Rep

Live External Voice / Chat Sparring

Bundle this scenario's persona, hidden pushback triggers, L6/L7 leadership context, and 4-signal scorecard into a single prompt for Gemini or Claude.

Scenario 1 - Role-Play Arena

45-Minute Timed Loop - Multi-Tenant Webhook & Compliance Audit Engine

AI
Google L7 / Principal Engineer
You are a Google L7 / Principal Engineer conducting a 45-minute System Design interview.
“Design a multi-tenant webhook ingestion and compliance audit system for B2B SaaS customers like Jira/GitHub. It needs to ingest bursts of 5,000 events/sec, evaluate compliance policies in near real time, and guarantee zero lost audit records. Walk me through how you'd approach this.”
Option 1: Test a Branching Response Path