Tag

traffic shaping

0 views collected around this technical thread.

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 NotificationsLog CollectionMessage 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 QueueService DecouplingSpring Boot
0 likes · 13 min read
8 Real-World Scenarios for Using Message Queues in Modern Applications
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.

Load BalancingMessage Queuebackend
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.

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

DecouplingMessage QueueReliability
0 likes · 14 min read
Why Use Message Queues (MQ) and How to Handle Common MQ Problems
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.

DecouplingMessage Queueasynchronous processing
0 likes · 15 min read
Why Message Queues Matter: Solving Latency, Coupling, and Traffic Spikes
Selected Java Interview Questions
Selected Java Interview Questions
Jan 31, 2021 · Fundamentals

Introduction to RabbitMQ: Concepts, Use Cases, Advantages, and Disadvantages

This article explains what RabbitMQ is, describes common scenarios such as decoupling services, improving asynchronous processing efficiency, and handling traffic spikes, and outlines the benefits and drawbacks of integrating a message queue into system architecture.

DecouplingMessage QueueRabbitMQ
0 likes · 8 min read
Introduction to RabbitMQ: Concepts, Use Cases, Advantages, and Disadvantages
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 QueueSpring Boot
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.

AMQPDecouplingMessage Queue
0 likes · 8 min read
Introduction to RabbitMQ: Overview, Use Cases, Advantages, and Drawbacks
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.

Load BalancingQPSRate Limiting
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.

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

Message Queuebackend architecturecaching
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.

Message QueueSystem Decouplingasynchronous processing
0 likes · 8 min read
Introduction to Message Queue Middleware and Its Application Scenarios
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 SynchronizationMessage QueueQueues
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.

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