Design a data-engineering / data-infrastructure system: ingest large-scale data, process it, and serve it to many stakeholders with varying access needs and sensitivities. ## Recruiter blurb (verbatim) "This interview focuses on data infrastructure systems design and doesn't need specialized ML knowledge. You'll be asked to design a system that ingests, processes, and serves large-scale data to multiple stakeholders with varying needs. We recommend brushing up on ingestion architectures, processing patterns, storage strategies at scale, and data access controls for data of varying levels of se…
Design a 1-on-1 chat system (no groups, no channels). Single device per user, focused on message delivery, presence detection, offline-recipient queueing, session storage, and the tradeoff between Kafka and Redis for the message bus. ## Scope - 1-on-1 only: group chats and channels are explicitly out of scope. - Single device per user (web). - Messages must be delivered exactly once with reasonable ordering guarantees. ## Canonical scale anchors The reference prompt pins these numbers; back-of-envelope work should land on them within a small constant factor: | Dimension | Value | Derivation | …