Configuring and Using Sentinel Gateway Rate Limiting
Sentinel console source code: https://download.csdn.net/download/yixin605691235/89543923
Sentinel console JAR: https://download.csdn.net/download/yixin605691235/89543931
Modify the application.yml file in the JAR to update the Nacos address for different environments.
1. Gateway Rate Limiting Configuration and Usage
1.1 Nacos Configuraton
Cr ...
Posted on Mon, 25 May 2026 20:27:21 +0000 by praeses
Implementing Rate Limiting in Django Rest Framework
To control user access frequency and prevent web scraping, you can implement rate limiting on your API endpoints. Django Rest Framework (DRF) provides mechanisms for this, either through custom implementations or built-in classes.
Custom Rate Limiter
A common scenario is to limit users to a specific number of requests within a given time frame, ...
Posted on Thu, 14 May 2026 03:27:14 +0000 by cyrenity
Redis-Based Distributed Lock and Rate Limiting in Spring Boot Applications
Overview
This article describes a clean approach to implementing distributed locking and rate limiting using Redis in Spring Boot applications. The solution leverages Redis atomic operations for thread-safe state management across multiple service instances.
Why Redis?
Redis provides atomic operations that guarantee complete execution or no exe ...
Posted on Wed, 13 May 2026 10:33:40 +0000 by SQL Maestro
Implementing Rate Limiting and Counters with Redis
Redis provides efficient counting capabilities suitable for rate limiting and access tracking. Common use cases enclude blog view counters and SMS verification code frequency limits.
Basic counters face challenges like preventing refresh-triggered increments. The solution involves tracking user access within specific time windows and storing da ...
Posted on Sun, 10 May 2026 17:33:56 +0000 by helpmeplease1234