Replies: 3 comments 2 replies
-
이건 제가 시나리오 업데이트하면서 예시를 잘 못 작성했네요. 다시 작성해보면, 컨트롤러는 사용자로부터 쿼리 스트링으로 닉네임을 받는다. |
Beta Was this translation helpful? Give feedback.
-
병렬책을 읽으면서 흥미로웠던 부분은 blockingQueue와 스레드 풀을 사용해서 프로듀서-컨슈머 패턴을 활용하면 닉네임을 보내는 모듈과 닉네임을 로깅하는 모듈을 분리할 수 있을거 같아요. 다만, 걱정되는 부분은 Java에서 지원하는 부분만 사용하는거라 Spring 템플릿 관점에서는 어떨지 모르겠네요. |
Beta Was this translation helpful? Give feedback.
-
Thread A이 객체를 가져갔으면 다른 스레드는 대기를 해야함 n초 동안 점유를 하고 있을 때 actual (잘못된 경우) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
시나리오
요구사항
하나의 로깅 객체를 공유하는 멀티 쓰레드
up
ordown
)를 받는다.To Do
Beta Was this translation helpful? Give feedback.
All reactions