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

[BE] Api Rate Limiter 생성 #159

Closed
2 tasks
mclub4 opened this issue May 5, 2024 · 0 comments
Closed
2 tasks

[BE] Api Rate Limiter 생성 #159

mclub4 opened this issue May 5, 2024 · 0 comments
Assignees
Labels
🔒 BE backend task 📝 feature New feature or request 🔨 setting

Comments

@mclub4
Copy link

mclub4 commented May 5, 2024

Feature Description

악의적으로 유저가 DOS 공격을 보내면, 저희 AI Token이 순식간에 사라질가능성이 높습니다.
따라서, API 호출 횟수를 제한하는 것이 필요합니다.

Detailed Tasks

  • API Rate Limiter Filter 구성
  • Redis를 이용한 Token Bucket Algorithm 구현

Reference Materials (Optional)

Token Bucket Algorithm 예시

image

API Rate Limiter 구현 참고 자료

mclub4 added a commit that referenced this issue May 5, 2024
mclub4 added a commit that referenced this issue May 5, 2024
fix: api 문서 접근 가능하게 변경
mclub4 added a commit that referenced this issue May 6, 2024
@mclub4 mclub4 changed the title ㄱㄷㅈㄱㅈㄴㅇㄹㄶㅍㄹㅇ호 [BE] Api Rate Limiter 생성 May 6, 2024
mclub4 added a commit that referenced this issue May 8, 2024
mclub4 added a commit that referenced this issue May 8, 2024
BlueBerrySoda added a commit that referenced this issue May 10, 2024
@mclub4 mclub4 self-assigned this May 11, 2024
@mclub4 mclub4 added 📝 feature New feature or request 🔒 BE backend task 🔨 setting labels May 11, 2024
@mclub4 mclub4 closed this as completed May 11, 2024
mclub4 added a commit that referenced this issue May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔒 BE backend task 📝 feature New feature or request 🔨 setting
Projects
None yet
Development

No branches or pull requests

1 participant