Design and Technical Specification of a High‑Throughput Message Center

This article presents a comprehensive design for a high‑availability message center that targets 10,000 messages per second inbound throughput and 1,000 messages per second outbound delivery, detailing technical goals, functional requirements, technology selection, architectural diagrams, and implementation guidelines using RocketMQ, Elasticsearch, Spring Cloud Gateway, MySQL, Docker, and Kubernetes.

IT Architects Alliance
IT Architects Alliance
IT Architects Alliance
Design and Technical Specification of a High‑Throughput Message Center

Technical Goal: Achieve an upstream message‑queue API throughput of 10,000 messages/second and downstream delivery to third‑party platforms of 1,000 messages/second (platform‑internal capacity), while ensuring 100% high availability of the message center.

Business Goal: Integrate new requirements, designate the architecture team as the owner of the message center, and provide timely business response and feedback.

Product Goal: Support message status queries, provide simple message‑template integration (≈5 minutes for basic integration), and standardize message templates.

Functional Requirements: Support third‑party push channels such as Alibaba Cloud SMS, WeChat public account, app push, unified in‑site messages, and Enterprise WeChat (application and personal). Features include message‑template management, account management, message search, and bulk message sending.

Technical Solution Overview:

Business Deployment Interaction Diagram
Business Deployment Interaction Diagram

Business core logic interaction diagram:

Business Core Logic Interaction Diagram
Business Core Logic Interaction Diagram

Technology Choice

Advantages

Disadvantages

RocketMQ

High performance – single instance can reach 100k msgs/sec; parallel push capability can be scaled via partitions.

Some features not supported – messages in RocketMQ cannot be retracted; certain database‑level functionalities are unavailable.

Elasticsearch

Excellent for billions of records keyword search; real‑time sync performance and throughput are adequate.

Concurrent insert performance is weaker – high‑throughput sync may stress ES; needs testing for capacity limits.

High‑Level Design Description:

RocketMQ: normal message queue for regular delivery, retry queue with multiple delay mechanisms, and result queue for success/failure notifications.

Elasticsearch: synchronize messages from the three queues to maintain eventual consistency via latest timestamp validation.

MySQL: manage templates, accounts, and other basic administrative data.

Underlying Framework and Operations Layer:

Unified gateway: Spring Cloud Gateway or Kong for API‑level routing only.

Base framework: select specific JAR versions; wrap ES, RocketMQ, real‑time alarm, and performance monitoring interfaces; ES supports SQL‑style insert/query; RocketMQ implementation is abstracted. Reference: BSF unified base framework .

Business framework: standard input/output HTTP/RPC utilities and protocol‑level support.

High availability services: Kubernetes & Docker with DevOps for one‑click deployment, rollback, rolling updates, and zero‑downtime releases.

Author: Che Jiangyi – Source: https://www.cnblogs.com/chejiangyi/p/14884931.htm

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

Backend Architecturehigh availabilityKubernetes
IT Architects Alliance
Written by

IT Architects Alliance

Discussion and exchange on system, internet, large‑scale distributed, high‑availability, and high‑performance architectures, as well as big data, machine learning, AI, and architecture adjustments with internet technologies. Includes real‑world large‑scale architecture case studies. Open to architects who have ideas and enjoy sharing.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.