Open ahyeon-github opened 1 year ago
1. 배달의민족 처리율 제한전략
인메모리큐를 앞단에 두어 레디스에 일정 요청이 들어오도록 처리
발표영상자료 : https://youtu.be/uWcn7omddxs?si=6Yg3d03fsO0ws3s4&t=1
2. Java 예제
https://goalgorithm.wordpress.com/2019/06/08/designing-an-api-rate-limiter/
2번에 대한 추가 자료 첨부합니다!
https://hogwart-scholars.tistory.com/entry/Spring-Boot-%EC%9E%90%EB%B0%94-%EC%8A%A4%ED%94%84%EB%A7%81%EC%97%90%EC%84%9C-%EC%B2%98%EB%A6%AC%EC%9C%A8-%EC%A0%9C%ED%95%9C-%EA%B8%B0%EB%8A%A5%EC%9D%84-%EA%B5%AC%ED%98%84%ED%95%98%EB%8A%94-4%EA%B0%80%EC%A7%80-%EB%B0%A9%EB%B2%95
guava는 구글이 개발한 오픈소스 라이브러리로, guava가 제공하는 기능 중 처리율 제한 기능이 존재한다고 합니다. Spring에서 throttling을 하기 위해 Guava의 RateLimiter가 주로 사용된다고 합니다.
🚀 Resources to Share
1. 배달의민족 처리율 제한전략
인메모리큐를 앞단에 두어 레디스에 일정 요청이 들어오도록 처리
발표영상자료 : https://youtu.be/uWcn7omddxs?si=6Yg3d03fsO0ws3s4&t=1
2. Java 예제
https://goalgorithm.wordpress.com/2019/06/08/designing-an-api-rate-limiter/
📎 Additional context