Tagged articles

batch consumption

5 articles · Page 1 of 1
Random Bulletin
Random Bulletin
Jun 14, 2026 · Backend Development

Scaling to Millions of QPS: How Batch Consumption Beats Single-Message Processing

The article explains why single‑message consumption stalls under high QPS due to fixed per‑message overhead, and how merging pull, processing, and commit into batch operations dramatically boosts throughput while introducing trade‑offs in latency, memory, and failure handling, with practical guidelines for batch size selection and dynamic tuning.

KafkaPerformance Optimizationbatch consumption
0 likes · 16 min read
Scaling to Millions of QPS: How Batch Consumption Beats Single-Message Processing
Programmer DD
Programmer DD
May 28, 2020 · Backend Development

How to Use RocketMQ for Traffic Shaping and Peak‑Smoothing in Spring Boot

This article explains how RocketMQ’s decoupling, asynchronous and peak‑shaving features can be applied in a Spring Boot project to buffer massive like‑click traffic, reduce database pressure, and dynamically tune consumer pull parameters for optimal throughput.

Consumer ConfigurationPeak ShavingRocketMQ
0 likes · 14 min read
How to Use RocketMQ for Traffic Shaping and Peak‑Smoothing in Spring Boot