Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4장 처리율 장치 설계 docs #19

Open
Eeap opened this issue Sep 6, 2023 · 2 comments
Open

4장 처리율 장치 설계 docs #19

Eeap opened this issue Sep 6, 2023 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@Eeap
Copy link
Member

Eeap commented Sep 6, 2023

🚀 Resources to Share

책에서 언급된 내용이긴 하지만 한번 씩 읽어봐도 괜찮을 것 같아요!
https://developers.cloudflare.com/waf/rate-limiting-rules/best-practices/

rate limiter 언어 별 라이브러리.. tech는 사실 책에 나온 내용인 것 같네요
https://medium.com/@alameerashraf/rate-limiters-in-a-nutshell-strategies-use-cases-and-implementation-part-2-f96d3bc24b28

redis sorted set
https://redis.io/docs/data-types/sorted-sets/

aws WAF를 이용한 request rate limiting - 제한 규칙을 정의해서 사용하는 것 같아요
https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-type-rate-based-request-limiting.html

좀 오래된 글이긴 한데 라인에서는 2020년도에 customer 인스턴스에 rate limiting을 인메모리 형태로 분산처리를 했더라구요..
이유는 redis가 중앙 집중형으로 관리되면 이것 또한 병목 지점이 될수도 있기 때문에 분리했다고 하군요..
https://engineering.linecorp.com/ko/blog/high-throughput-distributed-rate-limiter

📎 Additional context

@Eeap Eeap added the documentation Improvements or additions to documentation label Sep 6, 2023
@Eeap Eeap self-assigned this Sep 6, 2023
@Eeap
Copy link
Member Author

Eeap commented Sep 6, 2023

기업마다 처리율 장치를 middleware에 어떤 방식으로 두고 쓰는지 찾고 싶은데 찾으신분은.. 알려주세요 🥹

@bik1111
Copy link
Member

bik1111 commented Sep 6, 2023

https://cointelegraph.com/news/what-is-twitter-s-rate-limit
https://juneyr.dev/rate-limit-algorithm
미들웨어단 까지인지는 모르겠지만 트위터에서 실제 API 요청 제한을 둔 사례가 있어 공유드립니다 ~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants