문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
springframework:batch:multithread [2022/01/19 14:33] kwon37xi [Spring Batch Multi Thread] |
springframework:batch:multithread [2023/01/03 14:45] (현재) kwon37xi [Spring Batch Multi Thread] |
||
---|---|---|---|
줄 1: | 줄 1: | ||
====== Spring Batch Multi Thread ====== | ====== Spring Batch Multi Thread ====== | ||
+ | * [[springframework: | ||
* 단순히 쓰레드 갯수를 늘리는 방식. partitioning 과는 다름. | * 단순히 쓰레드 갯수를 늘리는 방식. partitioning 과는 다름. | ||
- | * reader와 writer 는 **thread safe**해야 한다. | + | * reader와 writer 는 **thread safe**해야 한다. |
- | * 어느 쓰레드의 상태로 상태 저장을 할지 결정할 수 없으므로 **'' | + | * Spring Batch 가 제공해주는 reader 는 thread safe 한 경우가 많다 |
+ | * 어느 쓰레드의 상태로 상태 저장을 할지 결정할 수 없으므로 | ||
* '' | * '' | ||
* 보통 ThreadPool의 크기와 '' | * 보통 ThreadPool의 크기와 '' |