Tagged articles
traffic control
64 articles · Page 1 of 1
Security researchers disclosed CVE‑2026‑68138, a race‑condition flaw in the Linux kernel’s qdisc rate‑table code that lets an unprivileged user gain a root shell within seconds; it affects Linux 5.1‑7.1.5, has a publicly available PoC, and can be mitigated by applying upstream patches or disabling unprivileged namespaces.
CVE-2026-68138Linux kernellocal privilege escalation
0 likes · 9 min read

The article explains that although Spring Cloud Gateway offers token‑bucket rate limiting via Redis, adding a coarse‑grained Nginx limit protects the gateway from traffic spikes, reduces JVM pressure, and ensures continuous flow control even during restarts or GC pauses.
API GatewayLuaRedis
0 likes · 9 min read

This article explains how to use Nginx's built‑in limit_req and limit_conn modules—based on the leaky‑bucket algorithm—to protect APIs from malicious flooding, excessive crawling, sudden traffic spikes, and individual user abuse, covering configuration directives, practical examples, advanced scenarios, testing, and deployment best practices.
API SecurityLeaky Bucketlimit_conn
0 likes · 20 min read

To support HuoLala’s massive driver workflow, the team designed a platform‑wide Todo Center that standardizes tasks, optimizes performance, decouples services, and ensures strong and eventual consistency, while employing traffic‑shaping, asynchronous processing, and robust monitoring to sustain billions of daily queries with low latency.
event-drivenmicroservicesscalability
0 likes · 14 min read

This article compares the token‑bucket and leaky‑bucket rate‑limiting algorithms, explaining their core principles, Java implementation details, key advantages and drawbacks, suitable application scenarios, interview‑style Q&A, and advanced hybrid strategies for building robust high‑concurrency systems.
JavaLeaky Bucketdistributed systems
0 likes · 9 min read

This article explains how to evaluate system performance bottlenecks, choose between hard and soft rate‑limiting, and implement a non‑intrusive, high‑concurrency traffic‑control solution using OpenResty, Lua scripts, and Redis, covering architecture design, queue management, rate limiting, resource release, and performance testing.
LuaOpenRestyRedis
0 likes · 18 min read

This article analyzes current system performance bottlenecks, compares hard‑rate‑limiting and flexible queuing strategies, and presents a non‑intrusive traffic‑control solution built with OpenResty+Lua and Redis that offers zero‑code changes, high performance, scalability, and real‑time visual feedback for high‑concurrency scenarios.
LuaOpenRestyRedis
0 likes · 18 min read

This article explains how OpenResty, built on Nginx and Lua, can be used in production to implement interface authentication, traffic control, and request logging, detailing practical implementation steps, configuration examples, and code snippets that help improve service reliability and operational efficiency.
API authenticationBackendLogging
0 likes · 16 min read

Learn how to protect your services from abusive traffic and brute‑force attacks by using Nginx's rate‑limiting features—limit_req to control request rates and limit_conn to restrict concurrent connections—complete with configuration examples, explanations of zones, burst handling, custom error pages, and log monitoring.
OperationsServer configurationlimit_conn
0 likes · 6 min read

The article examines six practical enterprise scenarios where INFINI Gateway enhances Elasticsearch clusters—covering zero‑cost security, intelligent query protection, automated slow‑query circuit breaking, high‑performance proxy architecture, fine‑grained read/write throttling, and end‑to‑end request logging—detailing problems, traditional limitations, and the gateway’s concrete solutions.
ElasticsearchINFINI GatewayLog Auditing
0 likes · 6 min read

The article explains why native Elasticsearch throttling is insufficient, introduces node‑level traffic control provided by Infinilabs Gateway, shows detailed configuration examples, parameter meanings, FAQ solutions, advanced tuning tips, and performance comparisons to protect clusters from overload.
Cluster stabilityInfinilabs Gatewaynode-level throttling
0 likes · 7 min read

This article analyzes the challenges Ctrip faced when handling massive traffic during ticket flash‑sale events and details the architectural upgrades, caching strategies, database optimizations, supplier integration safeguards, and traffic‑control mechanisms that enabled stable, fast, and consistent booking experiences.
BackendCachingdistributed systems
0 likes · 18 min read

This article explains the need for dynamic, fine‑grained rate limiting in high‑traffic services, describes Sentinel's core mechanisms, and details a three‑step implementation—data collection, rule management, and traffic verification—using sliding‑window counters and priority‑based throttling.
BackendDynamic ThrottlingSentinel
0 likes · 17 min read

This article presents a Sentinel‑based dynamic rate‑limiting solution that uses parameter priority and a sliding‑window counter to automatically adjust thresholds per scenario, addressing the limitations of static QPS limits, simplifying rule management via Zookeeper, and integrating as an independent SDK within Sentinel’s responsibility‑chain architecture.
Dynamic Rate LimitingRate Limiting AlgorithmSentinel
0 likes · 14 min read

KLimiter is an adaptive rate‑limiter that continuously monitors downstream resource water‑levels, computes impact coefficients from historical traffic, and dynamically throttles multiple upstream entries according to their priorities, using gradual reductions, slow‑start and fallback strategies to maintain stability and efficiency beyond static threshold methods.
Backendadaptive algorithmrate limiting
0 likes · 11 min read

Rate limiting safeguards system stability by capping request rates, employing algorithms such as fixed‑window, sliding‑window, leaky‑bucket, and token‑bucket, and can be applied at application, proxy, or hardware layers while using strategies like threshold setting, request classification, feedback, and ensuring fairness, flexibility, and transparency.
AlgorithmBackenddistributed systems
0 likes · 28 min read

This article analyzes the challenges faced by Ctrip's ticket‑booking transaction system during high‑traffic flash‑sale events and presents a series of architectural optimizations—including Redis caching, database load mitigation, supplier‑system safeguards, and fine‑grained traffic‑control strategies—to achieve stable, consistent, and fast performance under extreme concurrency.
BackendRedisdatabase optimization
0 likes · 15 min read

This article examines the challenges faced by Ctrip’s ticket reservation transaction system during flash‑sale events and details the architectural optimizations—including Redis caching, database load reduction, supplier integration, and multi‑layer traffic throttling—that ensure system stability, strong consistency, and high availability under extreme concurrency.
Data ConsistencyHigh AvailabilityRedis optimization
0 likes · 16 min read

This article details 360's comprehensive approach to improving Apache Kafka cluster stability through proactive operations, capacity assessment, parameter tuning, monitoring, version upgrades, and traffic control, offering concrete guidelines and best‑practice recommendations for large‑scale message‑queue deployments.
ClusterKafkaUpgrade
0 likes · 33 min read

This article explains why rate limiting is essential in high‑traffic microservice architectures, illustrates the avalanche effect, and introduces five practical algorithms—including counter, sliding window, leaky bucket, token bucket, and Redis‑based implementations—complete with code examples and usage scenarios.
Backendrate limitingtraffic control
0 likes · 7 min read

The article shows how OpenResty’s Lua‑based extensions can implement lightweight, version‑controlled API authentication, dynamic traffic‑shaping via shared‑memory peer status, and selective request tracing with batch‑sent logs to Elasticsearch, enabling secure, highly available services and rich observability without sacrificing Nginx performance in production.
API authenticationLoggingLua
0 likes · 18 min read

This article explains how Kujiale’s open API platform implements pre‑release process controls, full automation testing, field‑mapping, online traffic inspection, active health checks, and customizable throttling rules to ensure high stability, early fault detection, and safe handling of traffic spikes for customer integrations.
API GovernanceField Mappingautomation
0 likes · 8 min read

Rate limiting controls request flow to protect system stability, covering its definition, motivations, common algorithms such as token bucket, leaky bucket, fixed and sliding windows, their pros and cons, single‑machine vs distributed implementations, and practical component choices for backend services.
AlgorithmBackenddistributed systems
0 likes · 17 min read

This article explains Linux traffic control fundamentals, covering the three-layer processing model, queue types, token‑bucket mechanisms, kernel TC architecture, Qdisc/Class/Filter hierarchy, and provides step‑by‑step tc CLI examples for implementing QoS, DiffServ, and enterprise networking policies.
LinuxQoSnetwork
0 likes · 28 min read

Vivo’s push platform achieves high‑availability disaster recovery by deploying multi‑region broker clusters, implementing dual‑active logic nodes across two data centers, adding a Kafka‑backed buffering layer for traffic spikes, and using a hybrid Redis‑plus‑disk KV storage scheme to ensure durable, real‑time message delivery.
KafkaPush SystemRedis
0 likes · 11 min read

The article describes a modular traffic‑control platform for e‑commerce search and recommendation that lets operators quickly adjust strategies for emergencies, cold‑start items, and experiments, replacing costly multi‑team development with a unified operation center, service center, data hub, algorithmic PID controller, real‑time metrics, independent recall chain, and cross‑scene AB testing, while outlining future extensions.
AB TestingPID controllerRecommendation System
0 likes · 16 min read

This article details the end‑to‑end design of a high‑traffic flash‑sale (秒杀) system, covering functional and non‑functional requirements, performance estimations, dynamic/static separation, traffic‑layer control, high‑availability strategies, inventory‑deduction methods, and the key technologies needed for a resilient, scalable backend.
Cachingflash salehigh concurrency
0 likes · 17 min read

This talk by JD Retail's Zhao Yu explains how reinforcement learning is modeled and deployed for large‑scale traffic control during major sales events, detailing system architecture, reward design, offline simulation, model upgrades, and future research directions.
JD.comOnline AdvertisingRL modeling
0 likes · 20 min read

This article explains common runtime instability scenarios in microservices, introduces Sentinel‑based traffic protection, shows how CloudWeGo Kitex and Hertz integrate with MSE Sentinel, and demonstrates OpenSergo‑standardized flow control and fault‑tolerance configurations with concrete code and YAML examples.
CloudWeGoMSEOpenSergo
0 likes · 14 min read

This article explores a range of advanced registry‑center capabilities—including console UI, service configuration, event tracing, topology mapping, traffic control, health‑check extensions, graceful release, framework adaptation, and DNS‑based discovery—to illustrate how to make a service registry more powerful and flexible.
Service Discoveryservice registrytraffic control
0 likes · 9 min read

This article compares Alibaba’s Sentinel and Netflix’s Hystrix, detailing their differing focuses on traffic control, isolation strategies, circuit‑breaker mechanisms, real‑time metrics, and ecosystem support, to help developers choose the most suitable fault‑tolerance solution for distributed services.
Circuit BreakerHystrixJava
0 likes · 14 min read

The article presents a comprehensive overview of JD Daojia's Open Platform, detailing its service lifecycle—from platform introduction, service design, publishing, and authorization to state management and traffic‑control mechanisms—while explaining the underlying RPC‑based architecture and fixed‑window rate‑limiting algorithm.
API GatewayOpen Platformbackend development
0 likes · 12 min read

This article examines the inherent complexities of microservice architectures—such as performance, reliability, data consistency, and operational costs—and presents four essential governance approaches, including traffic control, request resilience, self‑protection mechanisms, and fault‑instance handling, to achieve robust high‑availability services.
Service Governancetraffic control
0 likes · 16 min read

This article details the design and implementation of a highly available membership platform, covering Elasticsearch dual‑center primary‑backup clusters, traffic‑isolation architectures, deep ES optimizations, Redis caching and dual‑center clusters, MySQL partitioned clusters, seamless SqlServer‑to‑MySQL migration, abnormal member governance, and refined flow‑control and degradation strategies.
Backendhigh-availabilitymigration
0 likes · 20 min read

The article explains how Android’s shift to Linux kernel 4.x/5.x introduced the eBPF framework, detailing its advantages over iptables, the programming model with helper macros and maps, and its implementation in netd and HAL to collect network statistics, enforce traffic control, and support power‑saving Doze policies.
AndroidBPFNetwork Monitoring
0 likes · 8 min read

This guide explains the AHAS Application High Availability Service, its traffic‑funnel protection principles, and step‑by‑step configuration of Ingress/Nginx traffic control in an Alibaba Cloud ACK cluster, including request grouping, flow‑control rules, and performance testing.
High Availabilitytraffic control
0 likes · 7 min read

Rate limiting protects services from overload by controlling traffic, using techniques such as circuit breaking, degradation, buffering, privilege handling, and algorithms like counters, leaky bucket, and token bucket, with implementations ranging from Guava in Java to Nginx+Lua for distributed systems.
Algorithmrate limitingtraffic control
0 likes · 14 min read

This article reveals how Taobao Open Platform’s API gateway, message service, and data‑sync system achieve ultra‑high concurrency, low latency, and zero‑loss reliability through multi‑level caching, asynchronous processing, traffic control, and distributed storage techniques.
API Gatewaydata synchronizationdistributed systems
0 likes · 20 min read

This article introduces Sentinel, a Java‑based library that safeguards microservice stability through traffic shaping, circuit breaking, and system‑level protection, compares it with Hystrix and resilience4j, explains core concepts, usage patterns, annotation support, and dashboard monitoring, and provides practical code examples.
circuit breakingspring-boottraffic control
0 likes · 17 min read

This article details how Kuaishou tackled performance, scalability, and stability challenges of Hive MetaStore by introducing a BeaconServer hook architecture, read‑write separation, API refinements, traffic control, and federation designs, resulting in significant query efficiency and service reliability improvements.
FederationHiveRead-Write Separation
0 likes · 14 min read

This article reviews Midway's 2020 Serverless rollout, detailing how strong/weak dependency analysis, traffic‑model estimation, and multi‑layer traffic control were combined to achieve ten‑fold scale growth and robust stability for Node.js Serverless services across Alibaba's businesses.
MidwayNode.jsdependency analysis
0 likes · 8 min read

This article explains how Sentinel Go, Alibaba’s open‑source flow‑control library, provides high‑availability protection for microservices through traffic shaping, warm‑up, concurrency control, hotspot limiting, and adaptive system protection, and describes its cloud‑native integrations such as Kubernetes CRD data sources, Service Mesh support, and HPA‑based scaling.
GoHigh AvailabilitySentinel
0 likes · 17 min read


JavaEdgeJul 28, 2020 · Backend Development
This article explains the real‑world origin of message queues, illustrates how they enable asynchronous processing, traffic control, and service decoupling, and compares their benefits and drawbacks with concrete examples such as flash‑sale systems and token‑bucket flow control.
Asynchronous Processingbackend architectureservice decoupling
0 likes · 8 min read

This guide explains how to use Linux's Netem module via the tc command to emulate network conditions such as delay, loss, duplication, corruption, and packet reordering, providing practical examples and command syntax for effective testing and troubleshooting of network performance issues.
Linuxnetemnetwork simulation
0 likes · 8 min read

This article explains why online applications experience crashes during traffic spikes, outlines the complexity of modern cloud‑based service architectures, and shares Alibaba engineers’ practical notes on high‑availability design, capacity planning, full‑link stress testing, monitoring, traffic control, routine inspections, and chaos‑engineering drills using tools such as AHAS, PTS, Sentinel and Advisor.
Alibaba CloudCloud ArchitectureHigh Availability
0 likes · 12 min read

The article explains how Alibaba introduced systematic capacity planning, four‑stage capacity assessment, various single‑machine stress‑test techniques, and a full‑link stress‑testing platform to reliably handle the massive traffic spikes of the Double‑11 shopping festival, while also describing a flexible traffic‑control framework to prevent overload and avalanche effects.
big-eventcapacity planningdistributed-systems
0 likes · 16 min read

This article details Youzan's design and implementation of a traffic‑control system built on Istio/Envoy, describing the protocols, architecture, and concrete JSON routing rules for gray releases and blue‑green deployments, along with observability features and future multi‑service release plans.
Gray ReleaseIstioKubernetes
0 likes · 22 min read

QTC, iQIYI’s extended ATC tool combining a dual‑NIC workstation, wireless hotspot and Python‑based software, dynamically simulates static and changing network conditions while providing low‑interference automated packet capture, enabling rapid mobile video app testing across diverse scenarios and uncovering numerous bugs.
QTCVideo Streamingautomation
0 likes · 9 min read

This article reviews why rate limiting is crucial in microservice architectures, outlines common limiting techniques such as semaphore counting, thread‑pool isolation, fixed and sliding windows, token‑bucket and leaky‑bucket algorithms, and discusses practical considerations like clock sync, SDK vs. server enforcement, and accuracy‑latency trade‑offs.
AlgorithmBackendtraffic control
0 likes · 13 min read

The article explains how Alibaba introduced full‑link stress testing and a four‑step capacity‑planning process for the Double 11 shopping festival, detailing traffic‑prediction, system‑capacity evaluation, fine‑tuning via production‑environment load tests, and dynamic flow‑control mechanisms that together ensure system stability during massive traffic spikes.
AlibabaDouble 11capacity-planning
0 likes · 17 min read

The article explains why service rate limiting is essential in distributed systems, describes common design patterns such as circuit breaking, service degradation, delayed processing, and privilege handling, and outlines practical techniques like circuit‑breaker libraries, counters, queues, and token‑bucket algorithms while highlighting key operational considerations.
BackendCircuit Breakerservice degradation
0 likes · 9 min read

This article explains the difference between rate limiting and circuit breaking, shows how to determine system capacity, compares fixed‑window, sliding‑window, leaky‑bucket and token‑bucket algorithms with code examples, and offers best‑practice guidance for applying them in distributed backend systems.
backend architecturecircuit breakingdistributed systems
0 likes · 15 min read

Sentinel, an open‑source lightweight traffic‑control framework from Alibaba, offers multi‑dimensional flow control, circuit breaking, system protection and easy‑to‑use console features, making it a production‑ready solution for distributed services and micro‑service architectures.
JavaSentinelcircuit breaking
0 likes · 7 min read


ITPUBOct 26, 2018 · Operations
This guide explains Linux traffic control (TC), covering its core components—qdisc, classes, and filters—along with HTB hierarchy, queue disciplines, iptables marking, and step‑by‑step command examples for limiting bandwidth per interface, IP or application.
HTBLinuxbandwidth shaping
0 likes · 11 min read

This article shares practical insights on handling high‑concurrency traffic, explaining what constitutes large traffic, common mitigation strategies such as caching, downgrade, and focusing on rate‑limiting techniques—including counters, sliding windows, leaky‑bucket and token‑bucket algorithms—and demonstrates using Guava’s RateLimiter for Java applications.
Backend PerformanceGuavahigh concurrency
0 likes · 6 min read


JD TechJul 5, 2018 · Backend Development
This article describes how JD's open gateway handles billions of requests during major sales events by employing a multi‑layer architecture, Nginx + Lua unified access, NIO asynchronous processing, service isolation, dynamic routing, degradation, rate‑limiting, circuit‑breaking, fast‑fail mechanisms, and comprehensive monitoring to ensure high performance and reliability.
Asynchronous ProcessingGatewayHigh Availability
0 likes · 16 min read

This article discusses practical approaches to handling massive traffic spikes—defining high‑traffic scenarios, common mitigation methods such as caching, degradation, and various rate‑limiting algorithms (counter, sliding window, leaky bucket, token bucket), including Guava's RateLimiter and brief notes on distributed implementations.
Backend PerformanceGuavaJava
0 likes · 6 min read

This article discusses the definition of high traffic, common mitigation methods such as caching, degradation, and especially various rate‑limiting algorithms—including counters, sliding windows, leaky bucket, and token bucket—and demonstrates using Guava's RateLimiter for practical throttling.
Backend PerformanceGuavahigh concurrency
0 likes · 7 min read


ITPUBOct 12, 2017 · Operations
This guide explains Linux traffic control (TC), covering its core components—queueing disciplines, classes, and filters—along with HTB configuration, step‑by‑step command examples, burst handling, and practical use cases for limiting bandwidth per IP or subnet.
HTBbandwidth shapingnetwork
0 likes · 12 min read


ITPUBSep 13, 2017 · Operations
This guide explains Linux traffic control (TC), covering its core components—queueing disciplines, classes, and filters—along with step‑by‑step commands to shape outbound bandwidth, set rate and ceiling limits, use bursts, and apply iptables marks for precise traffic management.
HTBbandwidth managementiptables
0 likes · 11 min read

This article explains Alibaba's four‑step capacity‑planning methodology, the various single‑machine load‑testing techniques, the design of a full‑link load‑testing platform for Double‑11, and the dynamic flow‑control framework that together ensure system stability during extreme traffic spikes.
AlibabaOperationscapacity planning
0 likes · 18 min read


ITPUBOct 27, 2016 · Operations
This guide explains Linux TC’s architecture—including qdiscs, classes, and filters—covers HTB versus CBQ, shows step‑by‑step command examples for rate limiting, priority, burst handling, and provides a concise reference of essential TC commands.
HTBbandwidth managementtc
0 likes · 12 min read

Service overload caused by cache failures can cripple dependent systems, but by adopting smart cache get patterns, proactive client‑side checks, traffic throttling, service degradation, and dynamic scaling, developers can both prevent overload and recover gracefully when it occurs.
BackendCacheOperations
0 likes · 22 min read


ITPUBMay 16, 2016 · Operations
This guide explains Linux traffic control (TC), covering its core components, queueing disciplines, classes, filters, burst parameters, and provides step‑by‑step command examples to limit download speeds for individual IPs or subnets.
Linuxbandwidth shapingnetwork
0 likes · 12 min read
