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

Filter 및 Argument Resolver를 통한 인증 구현, 정독 완료 #2

Open
Hugh-KR opened this issue May 7, 2024 · 1 comment
Open
Assignees
Labels

Comments

@Hugh-KR
Copy link
Member

Hugh-KR commented May 7, 2024

@zxcev
안녕하세요. 빽님 작성해 주신 Filter 및 Argument Resolver를 통한 인증 구현 정말 잘 읽었습니다. 흐름을 굉장히 매끄럽게 작성해 주셔서 시간 가는 줄 모르고 읽었어요.

보면서 한 가지 사소한 궁금증이 생겼는데 작성해주신 그래서 Tomcat의 경우는 클라이언트로부터 들어온 요청에 대해 로드 밸런싱 및 가용 가능한 쓰레드로 매핑을 해주는데, 해당 부분은 톰켓이 로드 밸런싱 서버로 ip / port 를 할당해 주는 것을 생각하신 걸까요?

로드 밸런서 설정은 WS인 Apache에서 수행된다고 이해하고 있고, 저희는 Nginx를 사용하고 있기에 어떤 의미로 작성해 주신 건지 질문드려 봅니다.

(정말 좋은 글이었어요.)

@Hugh-KR Hugh-KR added the 질문 label May 7, 2024
@Hugh-KR Hugh-KR self-assigned this May 7, 2024
@Hugh-KR Hugh-KR changed the title Filter 및 Argument Resolver를 통한 인증 구현 정독 완료 Filter 및 Argument Resolver를 통한 인증 구현, 정독 완료 May 7, 2024
@zxcev
Copy link
Collaborator

zxcev commented May 7, 2024

network 로드밸런싱이 아니라 tomcat connector에서 thread를 할당해주는 작업을 뜻한건데 nginx도 tomcat도 요청이 들어오면 해당 로드를 epoll로 할당해줘서 로드밸런싱이라고 표현을 했는데 로드 밸런서의 로드 밸런싱, 그리고 테스크 스케쥴링에서 사용되는 쓰레드 로드 밸런싱하고 헷갈려서 용어가 적절하지 않았던 것 같습니다.
로드-쓰레드매핑이라고 보면 좋을 것 같습니다:+1:

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

No branches or pull requests

2 participants