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 | 31 |
Tags
- 세션
- WebSquare5
- java
- 쿠키
- java 21
- ExceptionHandler
- project loom
- 비동기
- github
- Spring
- SMTP
- $p.local
- 웹스퀘어
- virtual threads
- markdown
- @Async
- gc
- mail server
- 캐시
- $p.data
- AWS Game Day
- gc튜닝
- 명령
- gameday
- controlleradvice
- .md
- GIT
- SP4
- $p
- CPU 바운드
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