본문 바로가기

emotional developer/detect-pattern

Rate Limiter

What Is a Rate Limiter?

A rate limiter is a defensive mechanism used in a distributed system to prevent the frequency of an operation from exceeding a defined limit and causing server errors. Here’s what you need to know.

 

https://medium.com/@meenak1996/system-design-of-rate-limiter-from-basic-to-distributed-environment-44e05a42d2dc

 

System Design of Rate Limiter from Basic to Distributed Environment

Objective: We will be coming up with the design of rate limiter while discussing different rate limiter algorithms and scale challenges…

medium.com

https://www.geeksforgeeks.org/how-to-design-a-rate-limiter-api-learn-system-design/

 

How to Design a Rate Limiter API | Learn System Design - GeeksforGeeks

A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.

www.geeksforgeeks.org

 

 

using Resilience4J library:

https://egkatzioura.com/2022/10/14/refill-rate-limiter-a-resilience4j-based-rate-limiter/

 

refill-rate-limiter: A Resilience4j-based rate limiter

It’s been a while since I’ve been working on this project. It is a rate limiter based on the atomic rate limiter from Resilience4j. The key difference is that the atomic rate limiter ge…

egkatzioura.com

 

using Guava's library:

https://www.baeldung.com/guava-rate-limiter

https://jobc.tistory.com/230

 

[Spring] Guava RateLimiter 사용법 (spring throttling)

Spring에서 throttling을 하기 위해 Guava의 RateLimiter가 주로 사용된다. 사용법과 예제를 정리해본다. Guava Rate Limiter Rate Limiter는 초당 실행횟수를 제어해서 throttling을 도와주는 클래스이다. 라이브러리

jobc.tistory.com

https://sowhat4.tistory.com/76

 

Java Ratelimiter - 초 당 처리량 조절하기

Why? 현재 담당하고 있는 서비스에서 API, DB 호출에 대한 초 당 처리량 조절 필요 Ratelimiter Guava에서 제공하는 모듈로 초 당 처리량을 설정을 통하여 관리될 수 있도록 한다. implementation("com.google.guav

sowhat4.tistory.com

 

반응형

'emotional developer > detect-pattern' 카테고리의 다른 글

Refactor if/elseif/elseif  (0) 2023.05.04
채번방식?  (0) 2014.01.24
Achieving Immutability with Builder Design Pattern  (0) 2010.08.05