Skip to content

Bucket4j를 이용한 과도한 RefreshToken 발행 요청 제한 - #112

Merged
yeomin4242 merged 9 commits into
devfrom
be/dev/feat-rate-limit-for-issue-refresh-token#111
Jan 13, 2026
Merged

Bucket4j를 이용한 과도한 RefreshToken 발행 요청 제한#112
yeomin4242 merged 9 commits into
devfrom
be/dev/feat-rate-limit-for-issue-refresh-token#111

Conversation

@yeomin4242

Copy link
Copy Markdown
Member

#️⃣연관된 이슈

ex) #이슈번호, #이슈번호

#11

📝작업 내용

이번 PR에서 작업한 내용을 간략히 설명해주세요(이미지 첨부 가능)

로그인 이후 사용자로부터 과도한 RefreshToken 재발급 요청에 대해서 처리하기 위해서

Bucket4j를 이용해서 1분당 요청 10회의 제한을 두어서 처리하고자 합니다.

스크린샷 (선택)

💬리뷰 요구사항(선택)

리뷰어가 특별히 봐주었으면 하는 부분이 있다면 작성해주세요
ex) 메서드 XXX의 이름을 더 잘 짓고 싶은데 혹시 좋은 명칭이 있을까요?

@yeomin4242
yeomin4242 requested a review from minwoonggi January 13, 2026 14:28
@yeomin4242 yeomin4242 self-assigned this Jan 13, 2026
@yeomin4242 yeomin4242 added the feat 새로운 기능을 추가함 label Jan 13, 2026

@minwoonggi minwoonggi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

refresh관련 트래픽만 제한하는 것이었군요 잘봤습니다.
테스트 코드도 봤는데 통과가 다 됬다면 성공적으로 동작하겠네요

@yeomin4242

Copy link
Copy Markdown
Member Author

refresh관련 트래픽만 제한하는 것이었군요 잘봤습니다. 테스트 코드도 봤는데 통과가 다 됬다면 성공적으로 동작하겠네요

기본적으로 운영단계에서 fail2Ban이 동작해서 큰 틀에서 문제는 없을거 같아요

@yeomin4242
yeomin4242 merged commit 4611be7 into dev Jan 13, 2026
1 check passed
@yeomin4242
yeomin4242 deleted the be/dev/feat-rate-limit-for-issue-refresh-token#111 branch January 13, 2026 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat 새로운 기능을 추가함

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants