Design a live customer-support inbox
Reuse the chat path for a product where people, not sockets, are the scarce resource, and customers often leave before the reply arrives.
The brief
Customers start a chat from a website widget or mobile app. Agents work several conversations at once from a shared inbox. A customer may close the page and come back hours later on another device, and should see the whole thread and hear about replies sent while they were away. Design the first version. Keep bots, voice, file attachments, and reporting outside this exercise.
- 200,000 conversations start per day, averaging 20 messages of 500 bytes each, including metadata. Half of the messages are agent replies. Use decimal units and 86,400 seconds per day.
- Peak traffic is 5 times the daily average. A conversation stays active for 30 minutes on average, with its customer connected during that time.
- 4,000 agents are online at peak, each with one dashboard connection and a limit of 8 conversations at once.
- 30% of agent replies arrive after the customer has gone offline. Those customers should get an email or push within about a minute, grouped rather than one per message.
- Keep history for 2 years. An accepted message must survive a process crash, and two agents must not both believe they own one conversation.
Reading a design isn’t the same as producing one under a clock. Try it timed: the requirement change stays hidden until partway through.
Loading your draft…
State your scope and assumptions. Estimate message rates, peak concurrent conversations and connections, agent capacity use, the offline alert rate, and two years of storage. Keep units visible.
0 / 4,000 charactersName the components and what each stores. Trace a customer message to an agent, an agent reply to an offline customer, and how a waiting conversation gets assigned to exactly one agent.
0 / 4,000 charactersChoose a likely bottleneck and the metric that would prove it. Explain what happens when an agent's laptop dies mid-conversation, and when a connection server or alert worker crashes.
0 / 4,000 charactersRespond to the outage surge below. Estimate how long the backlog lasts, then explain what you do about a wait that more machines cannot fix.
The requirement changesA large customer has an outage, and 50,000 of its users open chats within ten minutes. You cannot add agents quickly. Who waits, in what order, and what do they see? Name what you would protect, and what you would automate or shed.
0 / 4,000 charactersWrite an initial response in all four sections to unlock the checklist and two worked approaches.
Get critiqued, or get interviewed
SystemKit doesn’t read your answers: they stay in this browser. To get feedback from an AI, copy one of these prompts into a chatbot you already use. Treat what it says as a second opinion, and check anything that sounds too confident.