Code Wrench
Code Wrench
Jan 20, 2026 · Backend Development

Mastering API Rate Limiting in Go: Practical Algorithms and Implementation

This article walks through real‑world Go rate‑limiting strategies—from naive checks to fixed, sliding, and token‑bucket algorithms—explaining their pitfalls, implementation details, performance trade‑offs, and practical tips for choosing and deploying the right solution in production services.

Golangalgorithmbackend
0 likes · 10 min read
Mastering API Rate Limiting in Go: Practical Algorithms and Implementation
Code Wrench
Code Wrench
Jan 19, 2026 · Backend Development

Why Go Projects Need Algorithms: Real‑World Practices and Pitfalls

This article explores how common engineering problems in Go projects—such as rate limiting, cache eviction, and task scheduling—are fundamentally algorithmic, explains why developers often overlook them, and shows where and how to apply practical algorithms to improve performance, stability, and scalability.

AlgorithmsCachingGolang
0 likes · 7 min read
Why Go Projects Need Algorithms: Real‑World Practices and Pitfalls
Code Ape Tech Column
Code Ape Tech Column
Oct 28, 2025 · Backend Development

How to Build a Lightweight Spring Boot API Firewall for Real‑Time Protection

This article walks through the design and implementation of a lightweight API firewall embedded in a Spring Boot application, covering background pain points, architecture, core capabilities such as black‑white list, rate limiting, online configuration, detailed Java code, front‑end console, deployment, and practical use cases.

Blacklistapi-firewallmicroservices
0 likes · 27 min read
How to Build a Lightweight Spring Boot API Firewall for Real‑Time Protection
Alibaba Cloud Infrastructure
Alibaba Cloud Infrastructure
Sep 3, 2024 · Cloud Native

Integrating Alibaba Cloud Knative with Service Mesh ASM: Architecture, Deployment, and Best Practices

This article explains how Alibaba Cloud Knative, built on Kubernetes, works with the ASM service mesh to provide serverless capabilities, detailing its architecture, deployment steps, code examples, and advanced traffic management features such as rate limiting, circuit breaking, and priority scheduling.

Circuit Breakingrate-limitingserverless
0 likes · 23 min read
Integrating Alibaba Cloud Knative with Service Mesh ASM: Architecture, Deployment, and Best Practices
Top Architect
Top Architect
Aug 10, 2024 · Backend Development

Handling Interface-Level Failures: Degradation, Circuit Breaking, Rate Limiting, and Queuing

The article explains interface‑level failures in business systems and presents four mitigation strategies—degradation, circuit breaking, rate limiting, and queuing—detailing their principles, implementation methods, and algorithmic choices such as fixed and sliding windows, token bucket and leaky bucket.

Circuit BreakingReliabilitybackend
0 likes · 18 min read
Handling Interface-Level Failures: Degradation, Circuit Breaking, Rate Limiting, and Queuing
Top Architect
Top Architect
Jul 12, 2024 · Backend Development

Traffic Governance and High Availability in Backend Systems: Circuit Breakers, Isolation, Retries, Timeouts, and Rate Limiting

This article explains how high‑availability backend systems use traffic governance techniques—including circuit breakers, various isolation strategies, retry and timeout policies, degradation mechanisms, and rate‑limiting—to maintain balanced data flow, prevent cascading failures, and ensure performance, scalability, and reliability.

Timeoutbackendcircuit-breaker
0 likes · 30 min read
Traffic Governance and High Availability in Backend Systems: Circuit Breakers, Isolation, Retries, Timeouts, and Rate Limiting
Selected Java Interview Questions
Selected Java Interview Questions
May 22, 2023 · Backend Development

Implementing a Spring Cloud Gateway with Rate Limiting, BCrypt Encryption, and JWT Authentication

This guide demonstrates how to build a Spring Cloud Gateway for microservices, covering system setup, CORS handling, rate‑limiting with the token‑bucket algorithm, password hashing with BCrypt, and secure JWT‑based authentication, complete with Maven dependencies, configuration files, and filter implementations.

JWTbcryptrate-limiting
0 likes · 28 min read
Implementing a Spring Cloud Gateway with Rate Limiting, BCrypt Encryption, and JWT Authentication
Top Architect
Top Architect
Feb 11, 2023 · Backend Development

Comprehensive Guide to User Login Flow, Token Management, and Anonymous Access in Backend Systems

This article explains the complete user login process, including mobile verification, token generation, token expiration policies, request‑rate limiting with Redis, anonymous request handling, blacklist management, and provides full Java Spring code examples for implementing these backend authentication mechanisms.

API SecurityAuthenticationRedis
0 likes · 11 min read
Comprehensive Guide to User Login Flow, Token Management, and Anonymous Access in Backend Systems
Tencent Cloud Middleware
Tencent Cloud Middleware
Dec 13, 2022 · Cloud Native

How to Master Microservice Routing, Gray Release, and Multi‑Active Disaster Recovery

This article presents a comprehensive guide to microservice architecture evolution, covering routing, multi‑active deployment, gray releases, canary/rolling/blue‑green strategies, traffic shading, rate limiting, and practical implementation steps using cloud‑native gateways, service meshes, and Kubernetes labeling.

cloud-nativegray-releasemulti-active
0 likes · 19 min read
How to Master Microservice Routing, Gray Release, and Multi‑Active Disaster Recovery
Architecture Digest
Architecture Digest
Jun 28, 2022 · Cloud Native

Spring Cloud Tencent: An Overview of Its Features and Architecture

Spring Cloud Tencent integrates Tencent's Polaris platform to provide a comprehensive, out‑of‑the‑box microservice solution for Spring Boot and Spring Cloud users, covering service registration, configuration management, routing, rate limiting, circuit breaking, and proximity routing, while emphasizing low‑cost, high‑efficiency, and stable architecture for Java enterprises.

circuit-breakerconfiguration-managementmicroservices
0 likes · 16 min read
Spring Cloud Tencent: An Overview of Its Features and Architecture
MaGe Linux Operations
MaGe Linux Operations
Sep 17, 2021 · Backend Development

Mastering Redis: Caching, Distributed Locks, Counters, and More for Scalable Backend Systems

This article explores how to leverage Redis for a wide range of backend functionalities—including caching, distributed data sharing, locks, global IDs, counters, rate limiting, bitmap statistics, shopping carts, timelines, message queues, lotteries, likes, product tagging, filtering, follow relationships, and leaderboards—providing practical code examples and usage patterns.

BitmapCachingCounter
0 likes · 8 min read
Mastering Redis: Caching, Distributed Locks, Counters, and More for Scalable Backend Systems
Java Backend Technology
Java Backend Technology
Oct 8, 2020 · Backend Development

Unlocking Redis: 9 Real‑World Patterns from KV Cache to Bloom Filters

This article walks through nine practical Redis use cases—including basic KV caching, distributed locking, delayed queues, rate limiting, service discovery, bitmap storage, HyperLogLog counting, roaring bitmaps, and Bloom filters—explaining the underlying concepts, configuration tips, and code examples for robust backend development.

BitmapCachingHyperLogLog
0 likes · 20 min read
Unlocking Redis: 9 Real‑World Patterns from KV Cache to Bloom Filters
Programmer DD
Programmer DD
May 17, 2020 · Backend Development

How to Build a High‑Performance Flash‑Sale System: Architecture, Bottlenecks, and Solutions

This article explains the key challenges of flash‑sale systems—overselling, massive concurrency, URL exposure, and database pressure—and presents a complete backend design with isolated databases, Redis clustering, dynamic URLs, rate‑limiting, asynchronous order processing, and service degradation strategies.

Flash Salehigh-concurrencyrate-limiting
0 likes · 15 min read
How to Build a High‑Performance Flash‑Sale System: Architecture, Bottlenecks, and Solutions
Architecture Digest
Architecture Digest
Nov 26, 2017 · Backend Development

Rate Limiting Strategies and Algorithms for High‑Concurrency Services

The article explains the need for rate limiting in high‑traffic scenarios, describes common algorithms such as token‑bucket and Guava RateLimiter, compares single‑node and distributed implementations, and outlines a Redis‑based solution for precise flow control across multiple service instances.

backenddistributed-systemsrate-limiting
0 likes · 7 min read
Rate Limiting Strategies and Algorithms for High‑Concurrency Services