Tagged articles

rate limiting

630 articles · Page 6 of 7
Python Crawling & Data Mining
Python Crawling & Data Mining
Dec 25, 2020 · Backend Development

Mastering Python Rate Limiting: From ratelimiter to SlowAPI

This article explains how to control request frequency in Python using the ratelimiter library for synchronous and asynchronous code, and introduces SlowAPI as a flexible solution for FastAPI and Flask, helping backend developers reduce server load and protect APIs from abuse.

Pythonasynciobackend development
0 likes · 6 min read
Mastering Python Rate Limiting: From ratelimiter to SlowAPI
Java Backend Technology
Java Backend Technology
Dec 19, 2020 · Databases

Deep Dive into Redis: Data Structures, Persistence, and High Availability

This comprehensive guide explores Redis internals, covering its core data types and their low‑level implementations, persistence mechanisms like RDB and AOF, performance tricks, common pitfalls such as cache avalanche and split‑brain, distributed locking strategies, expiration and eviction policies, high‑availability architectures, and rate‑limiting techniques.

High AvailabilityPersistenceRedis
0 likes · 35 min read
Deep Dive into Redis: Data Structures, Persistence, and High Availability
Java Architect Essentials
Java Architect Essentials
Dec 14, 2020 · Backend Development

How to Set Up Alibaba Sentinel for Rate Limiting in a Spring Boot Microservice

This guide walks you through installing Alibaba Sentinel’s dashboard, configuring a Spring Boot client, defining flow rules, and verifying that request throttling works, providing all necessary commands, Maven snippets, YAML settings, and UI screenshots for a complete end‑to‑end rate‑limiting solution.

MicroservicesSentinelSpring Boot
0 likes · 10 min read
How to Set Up Alibaba Sentinel for Rate Limiting in a Spring Boot Microservice
Programmer DD
Programmer DD
Dec 13, 2020 · Backend Development

Master Sliding Window Rate Limiting in Java with Simple Code

This article introduces a straightforward Java implementation of a sliding‑window rate‑limiting algorithm for single‑machine use, explains its core logic, demonstrates its behavior with sample output, and visualizes the step‑by‑step process of how timestamps are managed within the window.

AlgorithmSliding Windowjava
0 likes · 8 min read
Master Sliding Window Rate Limiting in Java with Simple Code
vivo Internet Technology
vivo Internet Technology
Dec 2, 2020 · Cloud Native

In‑Depth Analysis of Sentinel's Rate‑Limiting Mechanism

Sentinel implements rate‑limiting through a chain‑of‑responsibility where annotated methods trigger SphU.entry, creating a Context, Node, and Entry; slots such as NodeSelectorSlot, ClusterBuilderSlot, StatisticSlot, and FlowSlot update sliding‑window metrics via LeapArray and enforce QPS thresholds, throwing BlockException on violations.

SentinelSliding WindowSource Code Analysis
0 likes · 18 min read
In‑Depth Analysis of Sentinel's Rate‑Limiting Mechanism
Laravel Tech Community
Laravel Tech Community
Nov 26, 2020 · Backend Development

Design and Technical Solutions for a High-Concurrency Flash Sale System

This article examines the challenges of building a flash‑sale (秒杀) system—such as overselling, high concurrency, request flooding, URL security, and database strain—and presents a comprehensive backend design using separate databases, Redis clustering, dynamic URLs, static pages, Nginx, rate‑limiting, asynchronous order processing, and service degradation strategies.

Flash Saleasynchronous processingbackend design
0 likes · 11 min read
Design and Technical Solutions for a High-Concurrency Flash Sale System
HaoDF Tech Team
HaoDF Tech Team
Nov 17, 2020 · Backend Development

Introduction to API Gateway and Kong Implementation at Haodf

This article introduces the fundamentals of API gateways, explains why Haodf replaced Nginx with Kong, details Kong's architecture, plugins, traffic segmentation, rate‑limiting strategies, monitoring, and operational considerations for deploying Kong in a micro‑service environment.

API GatewayKongbackend development
0 likes · 16 min read
Introduction to API Gateway and Kong Implementation at Haodf
Wukong Talks Architecture
Wukong Talks Architecture
Oct 21, 2020 · Backend Development

Flash Sale (Seckill) System Architecture Explained Through a Sci‑Fi Narrative

This article uses a sci‑fi story set on the A‑731 e‑commerce planet to illustrate the core principles of flash‑sale systems, including single‑responsibility services, independent deployment, stock pre‑heating, request encryption, static‑dynamic separation, traffic shaping, rate limiting, queue‑based load smoothing, and the role of Redis, Nginx, CDN and Redisson in handling massive order spikes.

Flash SaleSeckillrate limiting
0 likes · 10 min read
Flash Sale (Seckill) System Architecture Explained Through a Sci‑Fi Narrative
Top Architect
Top Architect
Oct 21, 2020 · Backend Development

Design and Technical Solutions for a High‑Concurrency Flash Sale System

This article examines the challenges of building a flash‑sale (秒杀) system—such as overselling, high concurrency, request throttling, and database strain—and presents a comprehensive backend design using separate databases, dynamic URLs, static pages, Redis clustering, Nginx, token‑bucket rate limiting, asynchronous order processing, and service degradation strategies.

Flash SaleRedisasynchronous processing
0 likes · 15 min read
Design and Technical Solutions for a High‑Concurrency Flash Sale System
Architects' Tech Alliance
Architects' Tech Alliance
Oct 12, 2020 · Operations

Designing Resilient Microservices: Patterns for Fault Tolerance and Failure Management

This article examines the inherent risks of microservice architectures and presents practical patterns—such as graceful degradation, change management, health checks, self‑healing, fallback caching, retries, rate limiting, bulkheads, and circuit breakers—to build highly available, fault‑tolerant services.

BulkheadFault ToleranceMicroservices
0 likes · 15 min read
Designing Resilient Microservices: Patterns for Fault Tolerance and Failure Management
Java Architect Essentials
Java Architect Essentials
Oct 5, 2020 · Backend Development

Implementing Distributed Rate Limiting in Spring Cloud Gateway with Token Bucket and Lua Script

This article explains how Spring Cloud Gateway uses a token‑bucket algorithm backed by Redis and a Lua script to perform distributed rate limiting, reviews common limiting algorithms, provides detailed Java and Lua code examples, and analyzes each step of the implementation for high‑concurrency systems.

LuaSpring Cloud Gatewaydistributed systems
0 likes · 7 min read
Implementing Distributed Rate Limiting in Spring Cloud Gateway with Token Bucket and Lua Script
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Sep 22, 2020 · Operations

How to Build Highly Available, Scalable, and Resilient Systems

This article explains the principles and practical techniques for achieving high availability, scalability, isolation, decoupling, rate limiting, degradation, and circuit breaking in modern software systems, providing concrete examples, algorithms, and deployment patterns to improve reliability and performance.

High AvailabilitySystem Designcircuit breaker
0 likes · 18 min read
How to Build Highly Available, Scalable, and Resilient Systems
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Sep 20, 2020 · Backend Development

How to Build a Robust Flash Sale System: Architecture, Challenges, and Code Solutions

This article examines the critical issues of overselling, high concurrency, request throttling, and database design in flash‑sale systems, then outlines a comprehensive backend architecture with Redis clustering, Nginx load balancing, dynamic URLs, rate‑limiting, asynchronous order processing, and Java code examples to achieve a resilient high‑throughput solution.

Backend ArchitectureFlash Salehigh concurrency
0 likes · 13 min read
How to Build a Robust Flash Sale System: Architecture, Challenges, and Code Solutions
Aikesheng Open Source Community
Aikesheng Open Source Community
Sep 17, 2020 · Backend Development

Understanding Rate Limiting: Leaky Bucket and Token Bucket Algorithms with a Python Example

This article explains the principles of leaky‑bucket and token‑bucket rate‑limiting algorithms, compares their behavior in high‑concurrency e‑commerce scenarios, and provides a complete Python implementation to illustrate how token‑bucket can handle burst traffic while maintaining system stability.

Pythonhigh concurrencyleaky bucket
0 likes · 7 min read
Understanding Rate Limiting: Leaky Bucket and Token Bucket Algorithms with a Python Example
Liangxu Linux
Liangxu Linux
Aug 6, 2020 · Backend Development

Mastering Nginx Rate Limiting: From Basics to Advanced Configurations

This guide explains how Nginx implements rate limiting using the leaky‑bucket algorithm, walks through basic and advanced configurations—including limit_req_zone, limit_req, burst, nodelay, whitelisting, multiple limits, logging, and custom status codes—while providing concrete code examples and practical tips.

Configurationleaky bucketlimit_req
0 likes · 14 min read
Mastering Nginx Rate Limiting: From Basics to Advanced Configurations
IT Architects Alliance
IT Architects Alliance
Aug 4, 2020 · Backend Development

Designing Effective Rate Limiting and Circuit Breaking for Microservice APIs

This article examines the motivations, resource granularity, rule definition, and calculation logic behind implementing rate limiting and circuit breaking in microservice architectures, using examples like Sentinel and Hystrix, and outlines a step-by-step design for integrating these controls with API gateways.

API GatewayBackend ArchitectureHystrix
0 likes · 14 min read
Designing Effective Rate Limiting and Circuit Breaking for Microservice APIs
21CTO
21CTO
Jul 22, 2020 · Information Security

Why RESTful API Security Matters and How to Protect Your APIs

This article explains the critical importance of securing RESTful APIs—covering data protection, DoS risks, and business impact—and outlines practical measures such as authentication, API keys, access control, rate limiting, and input validation with code examples.

API securityRESTful APIaccess control
0 likes · 8 min read
Why RESTful API Security Matters and How to Protect Your APIs
MaGe Linux Operations
MaGe Linux Operations
Jul 18, 2020 · Backend Development

Master Nginx Rate Limiting: From Basics to Advanced Configurations

This article explains Nginx rate‑limiting fundamentals and advanced configurations, covering the leaky‑bucket algorithm, basic directives, burst and nodelay handling, whitelisting with geo/map, multiple limit rules, logging details, and custom error responses to protect servers and mitigate attacks.

ConfigurationNginxWeb Server
0 likes · 11 min read
Master Nginx Rate Limiting: From Basics to Advanced Configurations
Selected Java Interview Questions
Selected Java Interview Questions
Jun 28, 2020 · Backend Development

Rate Limiting Strategies and Guava RateLimiter for High Concurrency Traffic

This article explains the concept of high traffic, compares common mitigation techniques such as caching, degradation and rate limiting, and then details four classic rate‑limiting algorithms—counter, sliding window, leaky bucket and token bucket—followed by a practical Guava RateLimiter example and a brief note on distributed scenarios.

Guavadistributed systemshigh concurrency
0 likes · 7 min read
Rate Limiting Strategies and Guava RateLimiter for High Concurrency Traffic
Alibaba Cloud Developer
Alibaba Cloud Developer
Jun 24, 2020 · Backend Development

Choosing the Right Rate‑Limiting Algorithm: Simple Window, Sliding Window, Leaky Bucket, Token Bucket & Sliding Log

This article explains the purpose of flow control, compares various rate‑limiting algorithms—including simple window, sliding window, leaky bucket, token bucket, and sliding log—provides Java interface definitions and code examples, discusses their complexity, precision, smoothness, and suitability for single‑machine and distributed scenarios, and offers practical deployment tips using Sentinel, Nginx, Guava, Tair, and Redis.

AlgorithmRedisdistributed systems
0 likes · 31 min read
Choosing the Right Rate‑Limiting Algorithm: Simple Window, Sliding Window, Leaky Bucket, Token Bucket & Sliding Log
37 Interactive Technology Team
37 Interactive Technology Team
Jun 12, 2020 · Cloud Native

Implementing Dynamic Rate Limiting with the APISIX API Gateway

This tutorial shows how to use the open‑source APISIX API gateway—built on OpenResty and etcd—to create a dynamic rate‑limiting plugin in Lua, configure route matching with a radix tree, and demonstrate the feature with a test endpoint that enforces one request per second and returns HTTP 503 when exceeded.

API GatewayAPISIXDynamic Rate Limiting
0 likes · 14 min read
Implementing Dynamic Rate Limiting with the APISIX API Gateway
Beike Product & Technology
Beike Product & Technology
Jun 5, 2020 · Cloud Native

Fundamentals of Microservice Architecture: Service Splitting, Registration, Load Balancing, Rate Limiting, and Circuit Breaking

This article provides a comprehensive introduction to microservice architecture, covering service decomposition, registration and discovery methods, client‑driven load balancing, rate‑limiting and circuit‑breaking strategies, and the design of a self‑built application delivery platform for cloud‑native environments.

Cloud NativeLoad BalancingOperations
0 likes · 23 min read
Fundamentals of Microservice Architecture: Service Splitting, Registration, Load Balancing, Rate Limiting, and Circuit Breaking
FunTester
FunTester
May 27, 2020 · Backend Development

How to Simulate Fixed QPS Mock APIs with Java Semaphore and Moco

This article explains how to overcome the difficulty of isolating external service performance during load testing by creating a fixed‑QPS mock endpoint using Java's Semaphore and a custom Moco ResponseHandler, includes code samples, accuracy observations, and practical guidelines.

MoCoMock APIPerformance Testing
0 likes · 5 min read
How to Simulate Fixed QPS Mock APIs with Java Semaphore and Moco
JD Retail Technology
JD Retail Technology
May 25, 2020 · Backend Development

Understanding Rate Limiting: Counter, Leaky Bucket, and Token Bucket Algorithms

This article explains the fundamentals of rate limiting for high‑concurrency systems, covering why it is needed, the conditions that trigger it, and detailed introductions to the three main algorithms—counter (fixed and sliding windows), leaky bucket, and token bucket—along with their advantages, drawbacks, and sample pseudo‑code implementations.

backendcounter algorithmleaky bucket
0 likes · 13 min read
Understanding Rate Limiting: Counter, Leaky Bucket, and Token Bucket Algorithms
58 Tech
58 Tech
May 22, 2020 · Backend Development

Design and Implementation of a Distributed Retry System Based on Distributed Scheduling

This article presents a comprehensive distributed retry system that leverages a distributed scheduling mechanism to ensure eventual consistency, reduce manual recovery costs, and provide flexible retry strategies, automatic recovery detection, visual management, rate limiting, and intelligent retry for backend services.

Fault ToleranceRetry Mechanismbackend development
0 likes · 13 min read
Design and Implementation of a Distributed Retry System Based on Distributed Scheduling
Java Captain
Java Captain
May 17, 2020 · Information Security

Common API Security Measures and Their Implementation

This article outlines essential API security mechanisms—including encryption, signing, timestamps, AppId authentication, rate limiting, blacklisting, and data validation—and provides practical Java implementation examples and code snippets.

AppIdBlacklistSignature
0 likes · 10 min read
Common API Security Measures and Their Implementation
Java Backend Technology
Java Backend Technology
May 14, 2020 · Backend Development

How to Build a High‑Performance Flash Sale System: Architecture & Code

This article explores the key challenges of designing a flash‑sale (秒杀) backend—such as overselling, high concurrency, request throttling, and database bottlenecks—and presents a complete solution that includes database schema, dynamic URLs, static page rendering, Redis clustering, Nginx load balancing, SQL optimization, token‑bucket rate limiting, asynchronous order processing, and service degradation strategies.

Backend ArchitectureFlash Salehigh concurrency
0 likes · 14 min read
How to Build a High‑Performance Flash Sale System: Architecture & Code
58 Tech
58 Tech
May 13, 2020 · Information Security

Dynamic Signature Strategies for API Security: Attack and Defense Techniques

This article explores the cat‑and‑mouse battle between crawlers and API endpoints, detailing how dynamic signatures, token‑based authentication, time‑bound hashes, rate‑limiting, and code obfuscation can be used to defend against scraping while also showing how attackers can reverse‑engineer and bypass these defenses.

API securityToken Authenticationanti‑crawling
0 likes · 12 min read
Dynamic Signature Strategies for API Security: Attack and Defense Techniques
Top Architect
Top Architect
May 12, 2020 · Backend Development

Design and Technical Solutions for a High‑Concurrency Flash Sale System

This article explores the challenges of building a flash‑sale (秒杀) backend—such as overselling, massive concurrent requests, URL protection, and database bottlenecks—and presents a comprehensive architecture that leverages Redis clustering, token‑bucket rate limiting, static page rendering, asynchronous order processing, and service degradation techniques.

Flash Salehigh concurrencyrate limiting
0 likes · 12 min read
Design and Technical Solutions for a High‑Concurrency Flash Sale System
21CTO
21CTO
May 2, 2020 · Backend Development

Master Distributed Caching, Rate Limiting, Locks & Idempotency with Alibaba Tools

This article introduces Alibaba's distributed‑tools component, explaining how to configure Redis/Tair cache, implement fixed‑window rate limiting, use a high‑performance distributed lock template, and apply idempotency mechanisms with annotations and templates to ensure reliable microservice operations.

IdempotencySpringBootcaching
0 likes · 15 min read
Master Distributed Caching, Rate Limiting, Locks & Idempotency with Alibaba Tools
Programmer DD
Programmer DD
Apr 29, 2020 · Operations

How to Keep Your Distributed System Running Even When Upstream Services Fail

The article explains why distributed systems must stay alive despite upstream or downstream failures, emphasizing rate limiting and circuit breaking as essential practices to prevent fault propagation and ensure service reliability, and it invites developers to assess their own safeguards.

circuit breakingdistributed systemsrate limiting
0 likes · 3 min read
How to Keep Your Distributed System Running Even When Upstream Services Fail
Tencent Cloud Developer
Tencent Cloud Developer
Apr 22, 2020 · Cloud Native

Designing High‑Quality Service Architecture Under Traffic Peaks: Load Balancing, Rate Limiting, Retries, Timeouts, and Failure Mitigation

Drawing on Google SRE principles, Bilibili’s technical director outlines a systematic, cloud‑native framework for high‑quality service architecture during traffic peaks, covering frontend and internal load balancing, distributed rate limiting, controlled retries, fail‑fast timeouts, and comprehensive failure‑mitigation strategies.

Load BalancingRetry StrategySRE
0 likes · 13 min read
Designing High‑Quality Service Architecture Under Traffic Peaks: Load Balancing, Rate Limiting, Retries, Timeouts, and Failure Mitigation
Programmer DD
Programmer DD
Apr 20, 2020 · Information Security

Essential API Security Measures and How to Implement Them

This article outlines key security mechanisms for public APIs—including data encryption, signing, timestamp validation, AppId authentication, rate limiting, blacklist handling, and data validation—and provides practical Java code examples for each technique.

API securityauthenticationdata encryption
0 likes · 11 min read
Essential API Security Measures and How to Implement Them
Architecture Digest
Architecture Digest
Apr 14, 2020 · Operations

Nginx Rate Limiting: Token‑Bucket, Leaky‑Bucket Algorithms and Configuration Examples

This article explains the principles of token‑bucket and leaky‑bucket rate‑limiting algorithms, shows how Nginx implements them with the limit_req and limit_conn modules, and provides detailed configuration examples—including burst, nodelay, and custom status codes—to control request rates and concurrent connections.

leaky bucketlimit_connlimit_req
0 likes · 12 min read
Nginx Rate Limiting: Token‑Bucket, Leaky‑Bucket Algorithms and Configuration Examples
Xiao Lou's Tech Notes
Xiao Lou's Tech Notes
Apr 11, 2020 · Backend Development

Why Sentinel Misses Docker CPU Usage and How to Fix It

This article explains Sentinel's role in microservice rate limiting, details a Docker-specific bug where CPU utilization is incorrectly reported, clarifies the difference between CPU load and utilization, and outlines the code fix and its remaining limitations.

Dockercpu-utilizationjava
0 likes · 6 min read
Why Sentinel Misses Docker CPU Usage and How to Fix It
Architecture Digest
Architecture Digest
Mar 30, 2020 · Backend Development

Design and Technical Solutions for a High‑Concurrency Flash Sale System

This article examines the challenges of building a flash‑sale (秒杀) system—such as overselling, massive concurrent requests, URL exposure, and database overload—and presents a comprehensive backend architecture that leverages Redis clustering, dynamic URLs, Nginx load balancing, rate‑limiting, asynchronous order processing, and service degradation techniques to achieve robust, scalable performance.

Backend ArchitectureFlash Saleasynchronous processing
0 likes · 12 min read
Design and Technical Solutions for a High‑Concurrency Flash Sale System
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Mar 28, 2020 · Backend Development

Master Rate Limiting: Algorithms, Guava RateLimiter, and Java Implementation

This article introduces the background and necessity of rate limiting, explains the leaky bucket and token bucket algorithms with visual diagrams, and provides a comprehensive Java implementation using Guava's RateLimiter, custom annotations, AOP interception, and controller integration to protect high‑traffic applications.

AOPGuavarate limiting
0 likes · 10 min read
Master Rate Limiting: Algorithms, Guava RateLimiter, and Java Implementation
macrozheng
macrozheng
Mar 25, 2020 · Backend Development

Mastering Token Bucket Rate Limiting and Lock Strategies in Flash Sale Systems

This article explains how to implement token‑bucket rate limiting with Guava's RateLimiter, compare it to leaky‑bucket algorithms, and combine it with optimistic and pessimistic locking techniques to prevent overselling in high‑concurrency flash‑sale applications.

Springjavaoptimistic-lock
0 likes · 15 min read
Mastering Token Bucket Rate Limiting and Lock Strategies in Flash Sale Systems
21CTO
21CTO
Mar 24, 2020 · Operations

Mastering System Resilience: Rate Limiting, Circuit Breaking, and Degradation

To keep systems highly available under sudden traffic spikes, developers employ three core strategies—rate limiting, circuit breaking, and service degradation—each controlling request flow, isolating failures, and gracefully reducing functionality to maintain stability, with practical examples and algorithmic approaches explained.

Operationscircuit breakingrate limiting
0 likes · 5 min read
Mastering System Resilience: Rate Limiting, Circuit Breaking, and Degradation
Youzan Coder
Youzan Coder
Mar 11, 2020 · Backend Development

Youzan Task Scheduling Platform (TSP): Design, Implementation, and Future Roadmap

Youzan’s Task Scheduling Platform (TSP) unifies its legacy cron and timeout systems into a modular, extensible framework that supports both timed and delayed tasks, offering per‑task rate limiting, sharding, isolation, retry policies, and a rich SDK, while its roadmap adds end‑to‑end monitoring, workflow orchestration, domain‑level clustering, transactional messaging, and dynamic task registration.

ShardingTSParchitecture
0 likes · 14 min read
Youzan Task Scheduling Platform (TSP): Design, Implementation, and Future Roadmap
21CTO
21CTO
Feb 26, 2020 · Backend Development

Mastering Distributed Rate Limiting: Caching, Degradation, and Flow Control Techniques

This article explains how caching, degradation, and various rate‑limiting strategies—including semaphore‑based concurrency control, token‑bucket algorithms, Guava RateLimiter, custom annotations, Redis interceptors, and Nginx modules—protect high‑concurrency distributed systems, with practical Java code samples and configuration snippets.

cachingdegradationdistributed systems
0 likes · 19 min read
Mastering Distributed Rate Limiting: Caching, Degradation, and Flow Control Techniques
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.

Guavabackendjava
0 likes · 10 min read
Understanding Rate Limiting: Leaky Bucket, Token Bucket, and Guava RateLimiter
Qunar Tech Salon
Qunar Tech Salon
Feb 4, 2020 · Backend Development

Bilibili's Exploration and Practice of Microservice Governance

This article presents Bilibili's exploration of microservice governance, detailing the challenges of service splitting and large‑scale management, the design and evolution of its Go‑based Discovery service discovery framework, advanced load‑balancing algorithms, adaptive rate‑limiting, circuit‑breaking strategies, and future directions for resilient backend systems.

GoLoad Balancingcircuit breaking
0 likes · 13 min read
Bilibili's Exploration and Practice of Microservice Governance
Programmer DD
Programmer DD
Jan 7, 2020 · Backend Development

Designing Secure and User‑Friendly SMS Verification Systems

This article explores common pitfalls and best‑practice design patterns for SMS verification, covering cross‑origin issues, rate‑limiting, captcha integration, IP/Cookie restrictions, and alert mechanisms to balance security and user experience across web and mobile platforms.

SMS verificationmobilerate limiting
0 likes · 9 min read
Designing Secure and User‑Friendly SMS Verification Systems
Qunar Tech Salon
Qunar Tech Salon
Jan 7, 2020 · Operations

Comprehensive Dependency Governance for High‑Availability Backend Systems

This article outlines a systematic approach to dependency governance in high‑traffic backend services, covering service classification, rate limiting, Dubbo, HTTP, database, and message‑queue management to enhance availability, reduce failure impact, and improve overall system stability.

Dependency ManagementDubboOperations
0 likes · 10 min read
Comprehensive Dependency Governance for High‑Availability Backend Systems
Programmer DD
Programmer DD
Jan 1, 2020 · Backend Development

How to Build a High‑Performance Flash Sale System: Architecture & Code

This article examines the key challenges of flash‑sale (秒杀) systems—overselling, massive concurrency, URL exposure, and database coupling—and presents a complete backend design featuring dedicated databases, dynamic URLs, static pages, Redis clustering, Nginx proxy, rate‑limiting, token‑bucket control, asynchronous order queues, and service degradation strategies.

Backend ArchitectureFlash SaleRedis
0 likes · 14 min read
How to Build a High‑Performance Flash Sale System: Architecture & Code
Senior Brother's Insights
Senior Brother's Insights
Dec 27, 2019 · Backend Development

How to Build a High‑Performance Flash Sale System: Architecture, Strategies & Code

This article examines the challenges of designing a robust flash‑sale backend—preventing oversell, handling massive concurrent requests, securing URLs, isolating databases, and applying techniques such as Redis clustering, Nginx load balancing, rate limiting, asynchronous processing, and service degradation—to enable stable, low‑latency sales spikes.

Backend ArchitectureFlash SaleNginx
0 likes · 15 min read
How to Build a High‑Performance Flash Sale System: Architecture, Strategies & Code
Java Captain
Java Captain
Dec 2, 2019 · Backend Development

Implementing Interface Rate Limiting in Spring Boot with Annotations and Redis

This article demonstrates how to create a custom @AccessLimit annotation, implement a Spring MVC interceptor that uses Redis to count requests, register the interceptor in a Spring Boot application, and apply the annotation to controller methods to achieve rate‑limiting functionality.

InterceptorRedisSpring Boot
0 likes · 6 min read
Implementing Interface Rate Limiting in Spring Boot with Annotations and Redis
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 BalancingQPShigh concurrency
0 likes · 8 min read
Traffic Shaping Strategies for High‑Concurrency Events: Staggering, Rate Limiting, and Peak Cutting
21CTO
21CTO
Oct 31, 2019 · Backend Development

Master Distributed Rate Limiting with Token Buckets, Redis, and Code

This article explains why rate limiting is essential for microservice stability, compares leaky‑bucket and token‑bucket algorithms, shows how to implement local and distributed throttling with Java's AtomicLong, Redis, and a control‑server architecture, and points to an open‑source project for practical use.

MicroservicesRedisdistributed systems
0 likes · 9 min read
Master Distributed Rate Limiting with Token Buckets, Redis, and Code
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Aug 18, 2019 · Backend Development

Mastering Service Interaction: Protocols, Discovery, and Resilience in Microservices

This article explores best‑practice patterns for microservice communication, covering synchronous and asynchronous protocols, serialization formats, API design, service discovery, versioning, rate limiting, circuit breakers, correlation IDs, distributed consistency, authentication, retries, and economic considerations.

MicroservicesSerializationcircuit breaker
0 likes · 22 min read
Mastering Service Interaction: Protocols, Discovery, and Resilience in Microservices
FunTester
FunTester
Aug 11, 2019 · Backend Development

Implementing Request Rate Limiting in Moco with a Custom LimitHandler

This article explains how to extend the Moco API with a custom LimitHandler to restrict request frequency, provides the Java implementation of the handler, and demonstrates several overloads for configuring default and custom intervals for rate limiting in backend testing scenarios.

APIBackend testingMoCo
0 likes · 6 min read
Implementing Request Rate Limiting in Moco with a Custom LimitHandler
Java Architecture Diary
Java Architecture Diary
Jul 30, 2019 · Backend Development

Mastering Dynamic Rate Limiting in Spring Cloud Gateway with Sentinel

This article examines the limitations of Spring Cloud Gateway's native RequestRateLimiter, introduces Sentinel's flow control integration, provides Maven dependencies, configuration examples, and demonstrates dynamic rate‑limiting adjustments via Nacos, illustrating effective traffic protection for microservice gateways.

NacosSentinelSpring Cloud Gateway
0 likes · 7 min read
Mastering Dynamic Rate Limiting in Spring Cloud Gateway with Sentinel
Architect's Tech Stack
Architect's Tech Stack
Jul 22, 2019 · Backend Development

Common Nginx Functions: Static Proxy, Load Balancing, Rate Limiting, Caching, and Access Control

This article introduces Nginx’s key capabilities—including static file serving, various load‑balancing strategies, leaky‑bucket rate limiting, browser and proxy caching, and black‑/white‑list access control—explaining how each feature can be configured and applied in high‑concurrency web environments.

Load BalancingNginxWeb Server
0 likes · 6 min read
Common Nginx Functions: Static Proxy, Load Balancing, Rate Limiting, Caching, and Access Control
FunTester
FunTester
Jul 17, 2019 · Backend Development

Implementing Request Rate Limiting in Moco with a Custom LimitHandler

This article explains how to extend Moco's API mocking capabilities by creating a custom LimitHandler that tracks request timestamps and enforces a configurable interval, providing a reusable solution for preventing rapid repeated submissions in test services.

API mockingMoCobackend
0 likes · 7 min read
Implementing Request Rate Limiting in Moco with a Custom LimitHandler
Cloud Native Technology Community
Cloud Native Technology Community
Jul 4, 2019 · Cloud Native

Mastering Istio Circuit Breakers: Hystrix vs Istio, Config & Real‑World Tests

This article explains the concept of circuit breaking and rate limiting in micro‑service architectures, compares Hystrix and Istio implementations, details Istio's ConnectionPool and outlierDetection settings, maps their parameters to Envoy, and provides step‑by‑step command‑line examples that demonstrate how these controls behave in practice.

Cloud NativeIstioMicroservices
0 likes · 23 min read
Mastering Istio Circuit Breakers: Hystrix vs Istio, Config & Real‑World Tests
Architect's Tech Stack
Architect's Tech Stack
Jul 3, 2019 · Backend Development

Implementing a Distributed Rate Limiter with Redis, Spring Boot, and Lua Scripts

This article demonstrates how to build a distributed rate‑limiting component named shield‑ratelimiter using Redis’s INCR and TTL features, Spring‑Boot‑starter integration, Lua scripting for atomic operations, custom annotations, and AspectJ, providing a robust, configurable solution for limiting API calls in Java backend services.

LuaRedisSpring Boot
0 likes · 16 min read
Implementing a Distributed Rate Limiter with Redis, Spring Boot, and Lua Scripts
Java High-Performance Architecture
Java High-Performance Architecture
Jul 2, 2019 · Operations

How to Build Highly Available Systems: 8 Essential Strategies

This article outlines eight practical high‑availability techniques—multiple replicas, isolation, rate limiting, circuit breaking, degradation, gray releases with rollback, comprehensive monitoring, and proactive log alerting—to help engineers design systems that are both efficient and reliable under heavy load.

High AvailabilityMonitoringSystem Design
0 likes · 7 min read
How to Build Highly Available Systems: 8 Essential Strategies
G7 EasyFlow Tech Circle
G7 EasyFlow Tech Circle
Jun 10, 2019 · Backend Development

How Sentinel Enhances Circuit Breaking and Rate Limiting for Dubbo Microservices in IoT

This article explains how the IoT business platform adopts Alibaba Sentinel to provide circuit breaking and rate‑limiting for Dubbo microservices, integrates with Apollo for centralized rule distribution, implements automatic downgrade, thread isolation, and cache‑based degradation to improve system reliability and resilience.

ApolloDubboSentinel
0 likes · 9 min read
How Sentinel Enhances Circuit Breaking and Rate Limiting for Dubbo Microservices in IoT
Tencent Cloud Developer
Tencent Cloud Developer
May 23, 2019 · Backend Development

Rate Limiting in Microservices: Why It’s Needed and Common Techniques

Rate limiting is essential for microservice resilience, preventing overloads and protecting business continuity, and can be implemented through various methods such as semaphores, thread‑pool isolation, fixed or sliding windows (using Redis ZSets or local memory), token‑bucket/leaky‑bucket algorithms, each with trade‑offs in accuracy, performance, clock synchronization, and deployment location.

AlgorithmMicroservicesrate limiting
0 likes · 16 min read
Rate Limiting in Microservices: Why It’s Needed and Common Techniques
Wukong Talks Architecture
Wukong Talks Architecture
Apr 27, 2019 · Backend Development

Implementing a Circuit Breaker Mechanism for Backend API Calls

This article explains a practical circuit‑breaker design for backend services, detailing detection logic, algorithm thresholds, time‑window statistics, recovery duration, manual overrides, a global switch, and how to monitor the breaker’s current state using Redis.

APIcircuit breakerfailure rate
0 likes · 6 min read
Implementing a Circuit Breaker Mechanism for Backend API Calls
Programmer DD
Programmer DD
Apr 10, 2019 · Backend Development

How to Implement Interface Rate Limiting with Sentinel in Spring Cloud Alibaba

This tutorial explains how Sentinel, the distributed system traffic guardian, can be deployed and integrated into a Spring Cloud Alibaba application to provide flow control and circuit breaking, covering dashboard setup, Maven configuration, code examples, rule creation, and verification of rate‑limiting behavior.

Microservicesjavarate limiting
0 likes · 8 min read
How to Implement Interface Rate Limiting with Sentinel in Spring Cloud Alibaba
Java Captain
Java Captain
Apr 3, 2019 · Backend Development

Understanding Message Queues: Benefits, Use Cases, and Challenges

This article explains what a message queue (MQ) is, why it is needed beyond in‑memory Java queues, and how it enables decoupling, asynchronous processing, peak‑shaving and rate‑limiting, while also discussing high‑availability, data‑loss, and consumer‑side considerations.

DecouplingHigh AvailabilityMessage Queue
0 likes · 11 min read
Understanding Message Queues: Benefits, Use Cases, and Challenges
Programmer DD
Programmer DD
Dec 19, 2018 · Backend Development

Mastering Rate Limiting: When to Use Fixed, Sliding, Leaky or Token Buckets

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
Mastering Rate Limiting: When to Use Fixed, Sliding, Leaky or Token Buckets
Java Backend Technology
Java Backend Technology
Dec 12, 2018 · Backend Development

Mastering Rate Limiting: Strategies, Best Practices, and Implementation Guide

This comprehensive guide explains the differences between rate limiting and circuit breaking, outlines how to determine system capacity, details four core throttling strategies (fixed window, sliding window, leaky bucket, token bucket), and offers practical best‑practice recommendations for distributed backend systems.

backendleaky bucketrate limiting
0 likes · 14 min read
Mastering Rate Limiting: Strategies, Best Practices, and Implementation Guide
Sohu Tech Products
Sohu Tech Products
Dec 5, 2018 · Backend Development

Overview of Web Crawler Types and the Architecture of the Mole Crawler System

This article explains the evolution and classification of web crawlers, describes the design and components of the Mole distributed crawler—including scheduler, fetcher, processor, rate‑limiting, URL deduplication, and Elasticsearch storage optimization—and outlines common anti‑anti‑crawling strategies.

ElasticsearchURL deduplicationWeb Crawler
0 likes · 12 min read
Overview of Web Crawler Types and the Architecture of the Mole Crawler System
Java Backend Technology
Java Backend Technology
Dec 1, 2018 · Backend Development

Migrate from Hystrix to Sentinel: A Practical Guide

With Hystrix no longer receiving new features, this article explains how developers can smoothly transition to Alibaba’s Sentinel by comparing the two libraries, detailing command migration, thread‑pool vs semaphore isolation, circuit‑breaker configurations, annotation support, and dynamic rule management for robust microservice resilience.

HystrixMicroservicesSentinel
0 likes · 8 min read
Migrate from Hystrix to Sentinel: A Practical Guide
Java Backend Technology
Java Backend Technology
Oct 19, 2018 · Operations

How to Ensure Stability for Billion-Request Websites: Proven Strategies

Ensuring stability for sites handling up to 100,000 requests per minute requires a combination of configuration management, feature toggles, phased deployment, robust error handling, comprehensive logging, real-time monitoring, traffic-aware throttling, service degradation, and disaster-recovery tactics, all of which are detailed in this guide.

deploymentlarge-scale systemsrate limiting
0 likes · 9 min read
How to Ensure Stability for Billion-Request Websites: Proven Strategies
Architecture Talk
Architecture Talk
Oct 15, 2018 · Operations

Master Nginx Rate Limiting: Request & Connection Control with Practical Configs

This article explains how to use Nginx’s built‑in limit_req and limit_conn modules to implement request‑rate and connection‑based throttling, covering configuration directives, execution flow, burst handling, delay modes, whitelist setup with geo and map modules, and practical examples for IP and domain limits.

NginxOperationsWeb Server
0 likes · 9 min read
Master Nginx Rate Limiting: Request & Connection Control with Practical Configs
Java Captain
Java Captain
Sep 1, 2018 · Backend Development

Thoughts on High‑Concurrency Traffic Control and Rate‑Limiting Techniques

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
Thoughts on High‑Concurrency Traffic Control and Rate‑Limiting Techniques
Programmer DD
Programmer DD
Aug 18, 2018 · Backend Development

How to Implement Multi-Dimensional Rate Limiting in Spring Cloud Gateway

This guide explains how Spring Cloud Gateway replaces Zuul and provides Redis‑based multi‑dimensional rate limiting, covering Maven dependencies, YAML configuration, custom key resolver beans, stress testing, Redis key monitoring, core Java implementation, and the underlying Lua script.

ReactiveRedisSpring Cloud Gateway
0 likes · 5 min read
How to Implement Multi-Dimensional Rate Limiting in Spring Cloud Gateway
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Aug 16, 2018 · Backend Development

Technical Challenges and Solutions for High‑Concurrency Flash Sale (秒杀) Systems

The article examines the technical challenges of high‑concurrency flash‑sale events such as Double 11, and presents a backend‑centric architecture employing rate limiting, cache (Redis), message‑queue peak‑shaving, and asynchronous processing to ensure scalability and prevent system avalanches.

high concurrencyrate limiting
0 likes · 9 min read
Technical Challenges and Solutions for High‑Concurrency Flash Sale (秒杀) Systems
JD Tech
JD Tech
Aug 13, 2018 · Backend Development

Building Scalable High‑Concurrency Backend Systems: Guarding the Baseline, Raising Throughput, and Horizontal Expansion

This article shares practical guidance on designing, protecting, and continuously improving high‑concurrency backend services—covering baseline capacity, rate limiting, data‑structure optimization, stateless architecture, and horizontal scaling—to help engineers evolve small systems into robust, production‑grade platforms.

MicroservicesMonitoringbackend
0 likes · 8 min read
Building Scalable High‑Concurrency Backend Systems: Guarding the Baseline, Raising Throughput, and Horizontal Expansion
JD Tech
JD Tech
Aug 3, 2018 · Backend Development

High‑Concurrency Price Protection System: Rate Limiting, Degradation, Caching, Sharding, and Scalable Task Processing

This article describes how JD built a high‑concurrency price‑protection service for the 618 promotion, covering rate‑limiting, degradation, CDN and data caching, database sharding with smooth expansion, and a multi‑stage, fault‑tolerant task‑processing workflow to achieve unlimited scalability.

ShardingTask Processingbackend
0 likes · 13 min read
High‑Concurrency Price Protection System: Rate Limiting, Degradation, Caching, Sharding, and Scalable Task Processing
Java Captain
Java Captain
Jun 27, 2018 · Backend Development

High Concurrency Traffic Control and Rate Limiting Techniques

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 PerformanceGuavahigh concurrency
0 likes · 6 min read
High Concurrency Traffic Control and Rate Limiting Techniques
dbaplus Community
dbaplus Community
Jun 25, 2018 · Backend Development

Mastering Rate Limiting for High‑Traffic Flash‑Sale Systems

This article explains why rate limiting is essential for flash‑sale (seckill) systems, compares token‑bucket and leaky‑bucket algorithms, and provides concrete Tomcat, Nginx, OpenResty, and Guava configurations along with code snippets and load‑testing results to help engineers implement robust throttling.

NginxOpenRestySeckill
0 likes · 14 min read
Mastering Rate Limiting for High‑Traffic Flash‑Sale Systems
ITPUB
ITPUB
Jun 25, 2018 · Backend Development

How to Implement Global Rate Limiting in Spring Boot with Redis and MySQL

This guide explains how to implement global rate limiting for high‑traffic Spring Boot applications by using Redis caches and MySQL storage, covering request interception, Redis key structures for limits and counters, and dynamic configuration for adding, updating, or deleting limits.

RedisSpring Bootjava
0 likes · 4 min read
How to Implement Global Rate Limiting in Spring Boot with Redis and MySQL
Java Backend Technology
Java Backend Technology
Jun 21, 2018 · Backend Development

Mastering Rate Limiting for High‑Traffic Flash Sale Systems

This article explains why rate limiting is essential for flash‑sale (seckill) services, compares token‑bucket and leaky‑bucket algorithms, and provides practical configuration examples for Tomcat, Nginx, and OpenResty, along with testing methods and code snippets.

Load TestingNginxOpenResty
0 likes · 14 min read
Mastering Rate Limiting for High‑Traffic Flash Sale Systems
Architecture Digest
Architecture Digest
Jun 21, 2018 · Backend Development

Rate Limiting Strategies for High‑Concurrency Seckill Systems

This article explains why rate limiting is essential for large‑scale flash‑sale (seckill) services, introduces token‑bucket and leaky‑bucket algorithms, and demonstrates practical implementations using Tomcat thread pools, Nginx, OpenResty, and Guava RateLimiter together with stress‑testing commands.

NginxSeckillTomcat
0 likes · 12 min read
Rate Limiting Strategies for High‑Concurrency Seckill Systems
21CTO
21CTO
Jun 16, 2018 · Backend Development

Master Rate Limiting: Token & Leaky Buckets, Tomcat, Nginx & OpenResty

This article explains why high‑traffic scenarios like flash‑sale systems need rate limiting, compares token‑bucket and leaky‑bucket algorithms, and shows practical configurations for Tomcat, Nginx, and OpenResty to protect APIs and ensure system stability.

NginxOpenRestyTomcat
0 likes · 10 min read
Master Rate Limiting: Token & Leaky Buckets, Tomcat, Nginx & OpenResty
Architecture Digest
Architecture Digest
May 25, 2018 · Backend Development

Modular Design, Service Extraction, and High‑Concurrency Optimization Practices for Backend Development

This article explains how modular design and service extraction can reduce system complexity and improve reusability, illustrates practical before‑and‑after examples for red‑packet and notification services, and details high‑concurrency techniques such as caching, asynchronous processing, rate limiting, service degradation, anti‑fraud measures, and concurrency‑safe database operations.

Backend ArchitectureModular Designanti-fraud
0 likes · 13 min read
Modular Design, Service Extraction, and High‑Concurrency Optimization Practices for Backend Development
ITFLY8 Architecture Home
ITFLY8 Architecture Home
May 18, 2018 · Backend Development

Rate Limiting Demystified: Token Bucket, Leaky Bucket & Counter Algorithms in Java

During high‑traffic scenarios, services can become unavailable, so implementing rate‑limiting techniques like token bucket, leaky bucket, and counter algorithms—illustrated with Java code examples using Guava RateLimiter, AtomicInteger, and Semaphore—helps smooth bursts, control concurrency, and prevent system overload.

Guavacounter algorithmleaky bucket
0 likes · 6 min read
Rate Limiting Demystified: Token Bucket, Leaky Bucket & Counter Algorithms in Java
Architecture Digest
Architecture Digest
Apr 23, 2018 · Backend Development

Designing High‑Concurrency Architecture: Principles, Idempotency, Rate Limiting and a Token‑Bucket Demo

The article explains how to design a backend architecture that can handle millions of concurrent requests by applying principles such as service decomposition, high availability, idempotent business logic, and various rate‑limiting algorithms—including sliding window, leaky bucket and token bucket—with a runnable Java demo.

Backend ArchitectureIdempotencyhigh concurrency
0 likes · 11 min read
Designing High‑Concurrency Architecture: Principles, Idempotency, Rate Limiting and a Token‑Bucket Demo
Meituan Technology Team
Meituan Technology Team
Apr 19, 2018 · Operations

How Meituan‑Dianping Built a 100% High‑Availability Core Transaction System

This article analyzes the rapid growth challenges of Meituan‑Dianping's core payment flow, explains key availability metrics such as MTBF and MTTR, and presents a comprehensive set of architectural, operational, and tooling strategies—including dependency decoupling, timeout tuning, circuit breaking, and full‑link stress testing—to achieve stable, fault‑tolerant transactions.

Dependency ManagementHigh AvailabilityMicroservices
0 likes · 20 min read
How Meituan‑Dianping Built a 100% High‑Availability Core Transaction System