Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- github
- gc튜닝
- $p.data
- 웹스퀘어
- AWS Game Day
- gameday
- $p.local
- CPU 바운드
- mail server
- project loom
- WebSquare5
- SP4
- markdown
- $p
- Spring
- ExceptionHandler
- controlleradvice
- java
- 비동기
- 명령
- 세션
- virtual threads
- 쿠키
- 캐시
- gc
- SMTP
- @Async
- GIT
- .md
- java 21
Archives
- Today
- Total
목록@Async (1)
쉬다가렴

💡 Java 21에서 Virtual Threads가 등장 기존 Thread Pool을 사용하던 방식과 다르게, 가볍고 확장성이 뛰어난 스레드를 만들 수 있음Spring Boot에서 Virtual Threads를 활용하면 비동기 처리, 동시성 문제 해결, 성능 최적화에 도움됨1️⃣ 기존 Spring Boot에서의 Thread 처리 방식Spring Boot에서 멀티스레딩을 처리하는 대표적인 방식 2가지 있음.Thread Pool 사용 (@Async)Reactive Programming (WebFlux, Project Reactor)각 방식마다 장단점이 있음Virtual Threads는 기존 방식보다 더 단순하게 동시성을 처리할 수 있음2️⃣ 기존 Thread Pool 기반 비동기 처리 방식Spring B..
Language/Java
2025. 2. 26. 08:30