Skip to main content

4 posts tagged with "High Concurrency"

Key topics and practices on High Concurrency

View All Tags

Peak Season Surge: Traffic Shaping, Scheduling, and Degradation for Customer Service

· 5 min read
Jack Ning
Maintainer of Bytedesk

Right after midnight on Black Friday, inbound conversations spike to five times the daily volume, human queues exceed an hour, bot APIs start timing out, and users complain in reviews that "support is unreachable". For many e-commerce teams this is a realistic picture of the biggest sales night: the peak of revenue often becomes the trough of support reputation.

This post is part of an experience-sharing series on "AI customer service product and engineering practice", drawn from hands-on practice at a global fast-fashion cross-border e-commerce platform. In this post I want to share a peak-protection solution for the consultation surge during major promotions and concentrated new-product launches: how to shape the system architecture and bot concurrency, prioritize requests, schedule human agents, and design service degradation so the system stays stable and the experience intact.

Architecture of a Large-Scale Conversational AI System: Balancing Latency, Stability, and Cost

· 5 min read
Jack Ning
Maintainer of Bytedesk

An AI customer service bot that shines in a demo faces three interrogations the moment it hits production: will it survive the traffic spike of a mega sale; will the whole service collapse when the LLM API wobbles; and can the inference cost per conversation be measured and reduced. These map to three goals — speed, stability, and cost — that cannot all be maximized at once. Architecture design is fundamentally about ranking them and trading off layer by layer.

This post is part of an experience-sharing series for AI customer service product managers and developers, drawn from hands-on practice as an intelligent service product manager at a large general e-commerce platform. In this post I want to share how to design a large-scale online conversational AI system covering user input, intent recognition, knowledge retrieval, context management, model inference, tool calls, and human takeover — while balancing response speed, stability, and call cost under high concurrency.

This is hardcore system design: not any single component, but the ability to assemble all components into a machine that survives production.

Peak-Hour IM Customer Service Stability: An Engineering Plan for No Loss, No Duplication, No Reordering

· 5 min read
Jack Ning
Maintainer of Bytedesk

Delivery customer service at dinner rush, instant-retail consultations at 8 PM during a big promotion—when traffic spikes hit, the first problems an IM service system exposes are usually message latency, duplicate push notifications, and out-of-sync session states. When users see replies that never arrive or the same message pop up twice, trust in the system evaporates within minutes.

This is the second article in an experience-sharing series on "AI customer service product and engineering practice," drawn from hands-on practice as an AI Product Manager focused on IM intelligent customer service at a local-life services platform. In this post I want to share how to design a solution covering the messaging pipeline, session state management, idempotency, and exception recovery when the IM system suffers message latency, duplicate pushes, and inconsistent session states during peak hours, and how to define core stability and experience metrics.

What makes this work valuable is that it drags product managers back to the engineering scene: the "intelligence" of smart customer service is built on the "reliability" of the messaging channel. A PM who does not understand the pipeline can only shout "add more machines" during an incident, unable to join the real decision-making.

Five-Fold Peak Traffic: Elastic Optimization for AI Customer Service Systems

· 4 min read
Jack Ning
Maintainer of Bytedesk

At mega-sale midnight, customer service requests instantly hit five times the daily volume: responses slow, requests time out, model invocation costs climb steeply. Users are at their most anxious (paid, no order, no delivery) exactly when the system is most fragile — the stress test AI customer service systems face every year. Frantically adding machines at the last minute is both expensive and too late.

This is the tenth post in an experience-sharing series for AI customer service product managers and developers, drawn from hands-on practice as an AI product manager at a Southeast Asian cross-border e-commerce platform. In this post I want to share how to optimize the system across concurrency control, request queues, caching, model routing, degradation strategies, and elastic scaling when a mega-sale suddenly grows customer service requests 5x and latency, request timeouts, and model invocation costs climb.