Design Zoho Cliq Group Messaging With Presence And Read Receipts

Last updated: November 29, 2026

Quick Overview

Design the backend for a team chat product like Zoho Cliq: one-to-one and channel messages delivered in real time across web, desktop and mobile, online presence, read receipts, and history sync when a device reconnects.

Zoho
System Design
Software Engineer
Zoho
November 29, 2026
Software Engineer
System Design Round
System Design
Hard

0

0

0 solved


Design the backend for a team chat product like Zoho Cliq: one-to-one and channel messages delivered in real time across web, desktop and mobile, online presence, read receipts, and history sync when a device reconnects.

Zoho Cliq (and the consumer Arattai messenger) run on Zoho's own data centres rather than public cloud, so capacity planning and connection handling are engineering concerns the team owns. The interviewer checks connection management at scale, ordering and delivery guarantees, fan-out for large channels and the cost of presence.

What the Interviewer Expects
  • Use persistent connections through a gateway tier with session routing
  • Persist before delivering and assign per-conversation sequence numbers
  • Choose fan-out strategy by channel size
  • Sync missed messages by sequence number on reconnect
  • Make presence cheap with heartbeats, TTLs and subscription scoping
  • Handle multiple devices per user consistently
Key Topics to Cover
WebSockets
Message ordering
Fan-out
Presence
Multi-device sync
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How do you keep read receipts from overwhelming a 10,000 member channel?
  • How would you add end-to-end encryption and what features would it limit?
  • How do you route a message when the recipient's connection is on another gateway in another data centre?
  • How do you handle a gateway node crashing with 500,000 open connections?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Functional: send and receive in 1:1 chats and channels up to tens of thousands of members, typing and presence, read receipts, edits and deletes, offline push. Non-functional: p99 delivery under 300 m...

High-Level Design

Clients hold a WebSocket to a stateless-ish gateway tier. A session registry (user id to gateway node, per device) lives in a replicated in-memory store. A message service validates, assigns a sequenc...


Submit Your Answer
Markdown supported

Related Questions