Skip to content

This project is created for custom rate limiter based on USER & URI key combination. I've created a custom Spring Boot Starter for custom rate limit which can be used in any spring boot wed application and providing the required configured will configure the rate limits.

License

Notifications You must be signed in to change notification settings

tarunve/spring-boot-custom-rate-limiter

Repository files navigation

Spring Boot Custom Rate Limiter


Information about the project

  • This project consists of two modules :
    • spring-boot-starter-custom-rate-limiter : Spring Boot Starter for the custom Rate Limiter.
    • spring-boot-custom-rate-limiter-rest : REST Api using the custom Rate Limiter Starter.

Installation

  • Simply set up this maven project.
  • Run the file com.spring.boot.rest.SpringBootCustomRateLimiterRestApplication in REST Api module project.

Test Results

  • Request Hit - Success Response

alt text


  • Request Hit - Success Response Headers showing the limit remaining

alt text


  • Request Hit - Failure Response once limit is reached

alt text


About

This project is created for custom rate limiter based on USER & URI key combination. I've created a custom Spring Boot Starter for custom rate limit which can be used in any spring boot wed application and providing the required configured will configure the rate limits.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages