Tagged articles

traffic-shaping

31 articles · Page 1 of 1
ZhiKe AI
ZhiKe AI
Jun 22, 2026 · Fundamentals

Message Queues: Power When Correct, Disaster When Wrong – 3 Scenarios & Tips

The article explains how message queues can dramatically improve response time, decouple services, and smooth traffic spikes, outlines seven advantages and eight drawbacks, and provides concrete guidelines on when to adopt them, how to prevent loss, duplication, and ordering issues, and how to ensure end‑to‑end reliability.

KafkaMessage QueueRabbitMQ
0 likes · 15 min read
Message Queues: Power When Correct, Disaster When Wrong – 3 Scenarios & Tips
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 NotificationsDelayed TasksMessage 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.

Delayed TasksMessage QueueRocketMQ
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.

Networkbandwidth 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.

High concurrencyPeak Shavingload balancing
0 likes · 6 min read
Understanding Traffic Peak Shaving and Detailed Solutions for High‑Concurrency Scenarios
Efficient Ops
Efficient Ops
Jan 31, 2023 · Operations

5 Essential Architecture Principles and Static‑Dynamic Separation for High‑Traffic Systems

This article outlines five key architecture principles, explains how to separate static and dynamic data, discusses hotspot data handling, traffic shaping, high‑availability design, and cache‑related issues, providing practical guidance for building resilient, high‑performance systems under heavy load.

Cachingarchitecturestatic-dynamic separation
0 likes · 18 min read
5 Essential Architecture Principles and Static‑Dynamic Separation for High‑Traffic Systems
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.

LinuxNetworkbandwidth limiting
0 likes · 10 min read
Master Linux Traffic Shaping with TC: Limit 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 Bandwidthqdisc
0 likes · 9 min read
Master Linux Traffic Shaping: Limit Bandwidth per IP and Port with 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.

CachingFlash SaleHigh concurrency
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.

Reliabilityasynchronous processingdecoupling
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.

LatencyNetwork ManagementQoS
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.

asynchronous processingbackend-architecturedecoupling
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.

Log Processingapplication decouplingasynchronous processing
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.

JavaMessage QueueMicroservices
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.

AMQPAsynchronousMessage Queue
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.

GuavaJavaLeaky 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.

High concurrencyQPSload balancing
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.

Flash SaleQueueQuiz
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.

High concurrencyfunnel filteringtraffic-shaping
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.

Backend DevelopmentLog ProcessingMessage Queue
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 Processingapplication decouplingasynchronous processing
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.

Data synchronizationSystem DecouplingTask Queue
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.

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