Tagged articles
29 articles
Page 1 of 1
Su San Talks Tech
Su San Talks Tech
Sep 4, 2025 · Backend Development

10 Real-World Message Queue (MQ) Scenarios Every Backend Engineer Should Know

This article explores ten practical use cases for message queues, from system decoupling and asynchronous processing to traffic shaping, data synchronization, log collection, broadcasting, ordered and delayed messages, retry mechanisms, and transactional messaging, providing code examples and best‑practice recommendations for robust backend design.

MQMessage QueueSystem Decoupling
0 likes · 21 min read
10 Real-World Message Queue (MQ) Scenarios Every Backend Engineer Should Know
Sanyou's Java Diary
Sanyou's Java Diary
Mar 6, 2025 · Backend Development

8 Real-World MQ Use Cases Every Backend Engineer Should Know

This article explores eight practical scenarios for using message queues—such as asynchronous processing, service decoupling, traffic shaping, delayed tasks, log collection, distributed transactions, remote calls, and broadcast notifications—providing code examples with RabbitMQ, RocketMQ, and Kafka to illustrate each pattern.

Broadcast NotificationsDistributed TransactionsMessage Queue
0 likes · 15 min read
8 Real-World MQ Use Cases Every Backend Engineer Should Know
macrozheng
macrozheng
Jan 7, 2025 · Backend Development

8 Real-World Scenarios for Using Message Queues in Modern Applications

This article explores eight practical use cases for message queues—including asynchronous processing, service decoupling, traffic shaping, delayed tasks, log collection, distributed transactions, remote calls, and broadcast notifications—providing code examples and architectural guidance for building robust backend systems.

Message QueueRocketMQSpring Boot
0 likes · 13 min read
8 Real-World Scenarios for Using Message Queues in Modern Applications
Liangxu Linux
Liangxu Linux
May 3, 2023 · Operations

Master Linux Traffic Shaping: Limit IP/Port Bandwidth with TC and IFB

Learn how to control Linux network traffic by creating qdisc, class, and filter rules with tc, set bandwidth limits for specific IPs or ports, and use an ifb virtual interface to shape inbound traffic, including step-by-step commands, configuration examples, and cleanup procedures.

Traffic Shapingbandwidth limitingifb
0 likes · 10 min read
Master Linux Traffic Shaping: Limit IP/Port Bandwidth with TC and IFB
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Apr 21, 2023 · Backend Development

Understanding Traffic Peak Shaving and Detailed Solutions for High‑Concurrency Scenarios

This article explains the concept of traffic peak shaving in high‑concurrency internet services, illustrates real‑world examples such as ticket抢购 and flash sales, and presents detailed mitigation techniques including message‑queue buffering and multi‑layer funnel filtering to protect downstream systems.

Peak ShavingTraffic Shapinghigh concurrency
0 likes · 6 min read
Understanding Traffic Peak Shaving and Detailed Solutions for High‑Concurrency Scenarios
Liangxu Linux
Liangxu Linux
Dec 20, 2022 · Operations

Master Linux Traffic Shaping with TC: Limit Bandwidth per IP and Port

This guide explains how to use Linux's TC tool to shape traffic by creating qdisc, class, and filter rules, allowing you to limit outbound and inbound bandwidth for specific IP addresses or ports, with step‑by‑step commands and practical examples.

LinuxTraffic Shapingbandwidth limiting
0 likes · 10 min read
Master Linux Traffic Shaping with TC: Limit Bandwidth per IP and Port
Liangxu Linux
Liangxu Linux
Sep 18, 2022 · Operations

Master Linux Traffic Shaping with TC: Control Bandwidth per IP and Port

This guide explains how Linux uses packet queuing for traffic shaping, walks through creating qdisc, class, and filter structures with tc, and shows step‑by‑step commands to limit bandwidth for specific IPs, ports, and inbound traffic using ifb devices.

Bandwidth ControlLinuxTraffic Shaping
0 likes · 10 min read
Master Linux Traffic Shaping with TC: Control Bandwidth per IP and Port
Liangxu Linux
Liangxu Linux
Sep 6, 2022 · Operations

Master Linux Traffic Shaping: Limit Bandwidth per IP and Port with TC

This guide explains how to use Linux's TC tool to shape network traffic by creating qdisc queues, defining class hierarchies, and applying filters that bind specific IP addresses or ports to bandwidth limits, including both egress and ingress shaping via an ifb virtual interface.

LinuxNetwork BandwidthTraffic Shaping
0 likes · 9 min read
Master Linux Traffic Shaping: Limit Bandwidth per IP and Port with TC
Open Source Linux
Open Source Linux
Sep 4, 2022 · Operations

Master Linux Traffic Shaping: Limit Bandwidth per IP/Port Using tc

This guide explains Linux traffic control fundamentals, showing how to create qdisc, class, and filter structures with the tc tool to shape traffic, limit bandwidth for specific IPs or ports, and manage both egress and ingress traffic using ifb devices.

LinuxNetwork BandwidthTraffic Shaping
0 likes · 11 min read
Master Linux Traffic Shaping: Limit Bandwidth per IP/Port Using tc
MaGe Linux Operations
MaGe Linux Operations
Jul 1, 2022 · Backend Development

How to Build a High‑Performance Flash‑Sale System: Architecture, Caching, and Scaling Strategies

This article explains how to design a high‑concurrency flash‑sale (秒杀) system by optimizing concurrent reads and writes, applying API and architecture principles, separating dynamic and static data, handling hot items, shaping traffic, improving performance, managing inventory reduction, and implementing robust fallback mechanisms for high availability.

System ArchitectureTraffic Shapingcaching
0 likes · 46 min read
How to Build a High‑Performance Flash‑Sale System: Architecture, Caching, and Scaling Strategies
Top Architect
Top Architect
Feb 26, 2022 · Backend Development

Why Use Message Queues (MQ) and How to Handle Common MQ Problems

This article explains the motivations for introducing message queues—such as decoupling, asynchronous processing, and traffic shaping—then details the typical challenges like availability, complexity, duplicate consumption, data consistency, message loss, ordering, and backlog, and provides practical solutions for each issue.

DecouplingReliabilityTraffic Shaping
0 likes · 14 min read
Why Use Message Queues (MQ) and How to Handle Common MQ Problems
Programmer DD
Programmer DD
Dec 2, 2021 · Operations

Mastering QoS: How to Ensure Reliable Network Performance for Voice, Video, and Data

Quality of Service (QoS) allocates limited bandwidth among diverse network traffic, guaranteeing end‑to‑end performance for real‑time applications like voice and video, while explaining key metrics, service models, and practical deployment scenarios such as enterprise office, streaming, and hierarchical QoS solutions.

LatencyQoSTraffic Shaping
0 likes · 15 min read
Mastering QoS: How to Ensure Reliable Network Performance for Voice, Video, and Data
macrozheng
macrozheng
Jun 2, 2021 · Backend Development

Why Message Queues Matter: Solving Latency, Coupling, and Traffic Spikes

This article explains the drawbacks of traditional synchronous request handling, introduces message queues as a solution for asynchronous processing, decoupling services, and traffic shaping, and then details the common MQ challenges—duplicate messages, data inconsistency, loss, ordering, backlog, and added system complexity—along with practical mitigation strategies.

Backend ArchitectureDecouplingTraffic Shaping
0 likes · 15 min read
Why Message Queues Matter: Solving Latency, Coupling, and Traffic Spikes
Programmer DD
Programmer DD
Jul 23, 2020 · Backend Development

Why Message Queues Are Essential for Scalable Backend Architecture

This article explains the role of message‑queue middleware in distributed systems, covering its core functions, common use cases such as asynchronous processing, application decoupling, traffic shaping, log handling and messaging, and provides concrete architectural examples illustrating performance improvements and design patterns.

Backend ArchitectureLog ProcessingTraffic Shaping
0 likes · 9 min read
Why Message Queues Are Essential for Scalable Backend Architecture
Top Architect
Top Architect
Jun 29, 2020 · Backend Development

Using RocketMQ for Traffic Shaping in Spring Boot: Configuration, Code Samples, and Performance Tuning

This article explains how to use RocketMQ for traffic‑shaping in a Spring Boot application, covering its core components, consumer pull configuration, integration via rocketmq‑spring‑boot‑starter, a practical like‑praise use case, a Maven setup, YAML configuration, and advanced topics such as dynamic scaling and batch consumption.

Message QueueMicroservicesRocketMQ
0 likes · 15 min read
Using RocketMQ for Traffic Shaping in Spring Boot: Configuration, Code Samples, and Performance Tuning
Java Captain
Java Captain
Apr 9, 2020 · Backend Development

Introduction to RabbitMQ: Overview, Use Cases, Advantages, and Drawbacks

This article introduces RabbitMQ, explains its core concepts and AMQP protocol, outlines common scenarios such as decoupling, asynchronous processing, and traffic shaping, and discusses the benefits and challenges of integrating a message queue into backend architectures.

AMQPAsynchronousDecoupling
0 likes · 8 min read
Introduction to RabbitMQ: Overview, Use Cases, Advantages, and Drawbacks
Big Data Technology & Architecture
Big Data Technology & Architecture
Feb 22, 2020 · Backend Development

Understanding Rate Limiting: Leaky Bucket, Token Bucket, and Guava RateLimiter

The article explains the principles of traffic shaping through leaky‑bucket and token‑bucket algorithms, details how Google Guava's RateLimiter implements token‑bucket rate limiting, and provides Java code examples illustrating token generation, acquisition, and practical usage in high‑concurrency backend systems.

BackendGuavaToken Bucket
0 likes · 10 min read
Understanding Rate Limiting: Leaky Bucket, Token Bucket, and Guava RateLimiter
Youku Technology
Youku Technology
Nov 5, 2019 · Backend Development

Traffic Shaping Strategies for High‑Concurrency Events: Staggering, Rate Limiting, and Peak Cutting

The article explains how Youku’s engineers mitigate extreme traffic spikes during large‑scale events by applying three core techniques—staggering requests across time, enforcing client‑side rate limits, and cutting peaks through minimum intervals, probabilistic sending and fairness algorithms—to lower maximum QPS, improve stability, and preserve user experience.

QPSScalabilityTraffic Shaping
0 likes · 8 min read
Traffic Shaping Strategies for High‑Concurrency Events: Staggering, Rate Limiting, and Peak Cutting
Architect's Tech Stack
Architect's Tech Stack
Jul 12, 2019 · Backend Development

Traffic Peak Shaving Techniques for Flash Sale Systems: Queuing, Quiz, and Layered Filtering

The article explains why flash‑sale services need to shave traffic peaks and presents three practical, loss‑less techniques—using message queues to buffer bursts, adding a quiz step to delay and filter requests, and applying layered filtering across CDN, front‑end, back‑end and database—to achieve smoother processing and lower resource waste.

BackendQueueQuiz
0 likes · 15 min read
Traffic Peak Shaving Techniques for Flash Sale Systems: Queuing, Quiz, and Layered Filtering
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Dec 28, 2018 · Backend Development

Traffic Peak Shaving: Origins and Implementation Strategies for High‑Concurrency Scenarios

The article explains why traffic peak shaving is needed in high‑concurrency situations such as flash sales, and describes practical solutions including message‑queue buffering and multi‑layer funnel filtering, along with caching and CDN techniques to protect backend systems.

Traffic Shapingfunnel filteringhigh concurrency
0 likes · 6 min read
Traffic Peak Shaving: Origins and Implementation Strategies for High‑Concurrency Scenarios
Java Captain
Java Captain
Jun 29, 2018 · Backend Development

Introduction to Message Queue Middleware and Its Application Scenarios

This article introduces message queue middleware, explains its role in distributed systems for asynchronous processing, system decoupling, traffic shaping, log handling and message communication, and provides concrete e‑commerce and log‑collection examples illustrating how queues improve performance, scalability and reliability.

Log ProcessingMessage QueueSystem Decoupling
0 likes · 8 min read
Introduction to Message Queue Middleware and Its Application Scenarios
Java Backend Technology
Java Backend Technology
May 6, 2018 · Backend Development

How Message Queues Boost Performance and Decouple Applications

This article explains how message queue middleware improves distributed systems by enabling asynchronous processing, decoupling services, handling traffic spikes, aggregating logs, and supporting various communication patterns, illustrated with real‑world e‑commerce and logging architectures that boost throughput and reliability.

Log ProcessingTraffic Shapingapplication decoupling
0 likes · 9 min read
How Message Queues Boost Performance and Decouple Applications
Qunar Tech Salon
Qunar Tech Salon
Nov 24, 2016 · Backend Development

Practical Application Scenarios of Queues in System Design

This article explains how queues—such as message queues, task queues, and data‑bus queues—are applied in backend systems for asynchronous processing, system decoupling, data synchronization, traffic shaping, buffering, and other architectural patterns to improve scalability and reliability.

System DecouplingTask QueueTraffic Shaping
0 likes · 10 min read
Practical Application Scenarios of Queues in System Design
Architect
Architect
Oct 23, 2015 · Backend Development

Implementing Token‑Bucket Rate Limiting with Guava RateLimiter in Java

The article explains how to protect high‑traffic systems during events like Double 11 by using token‑bucket rate limiting, describes the algorithm, compares Guava's SmoothBursty and SmoothWarmingUp implementations, and provides a simple Java TrafficShaper example with code.

BackendGuavaToken Bucket
0 likes · 7 min read
Implementing Token‑Bucket Rate Limiting with Guava RateLimiter in Java