
스레드풀을 사용하면서 생긴 궁금증을 정리해보려 합니다.Thread는 Runnable 객체만 실행할 수 있는데, ExecutorService(스레드 풀)는 어떻게 Callable 객체도 실행할 수 있을까? public Future submit(Callable task) { if (task == null) throw new NullPointerException(); RunnableFuture ftask = newTaskFor(task); execute(ftask); return ftask;}protected RunnableFuture newTaskFor(Callable callable) { return new FutureTask(callable);}ExecutorService에..

최근 SKT 해킹 사건으로 인해 유심 보호 및 교체 신청이 급증하면서 Tworld 접속 시 대기열이 발생했다.이에 따라 Tworld의 대기열 시스템이 어떤 방식으로 구현되어 있는지 추측해보려고 한다. 흐름 1. 대기열 큐 생성2. SSE 연결3. 대기열 큐 상태 조회 대기열 큐 생성 https://care.tworld.co.kr/api/queue{ "ticketId": "535357ec-2a08-4164-b245-5cbcf3511015", "usersInQueue": 45396, "nextPolling": 10, "status": "IN_WAIT_QUEUE"}HTTP/1.1 200 OK...set-cookie: WEB_SESSION=974c2d4a-6a69-45cd-910c-2e23..
- Total
- Today
- Yesterday
- DispatcherServletInitializer
- FormProperty
- User Scenario
- ServletContainerInitializer
- CreationTimestamp
- Attribute Converter
- 유저 시나리오
- org.springframework:spring-webflux
- 레이어드 아키텍처
- feignClient
- @FormProperty
- @Converter
- java 17
- dto 위치
- BasicBinder
- JPA SQL Injection
- 유저 스토리
- setDateFormat
- CreatedDate
- 구글 OpenID
- entity 검증
- 구글 소셜로그인
- defer-datasource-initialization
- HTTPInterface
- @ElementCollection
- HandlesTypes
- Spring Boot 3
- dto 검증
- ValidateException
- WebFlux 의존성
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |