Notice
Recent Posts
Recent Comments
Link
250x250
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- log_bin
- Express
- nodejs
- upgrade
- mysql 5.5
- MySQL
- Node
- update
- JavaScript
- current_date
- migration
- Regular expression
- REACT
- Effective Java
- 퀵소트
- Chunk
- REACTJS
- 정규표현식
- spring cloud
- Effective Java 3/e
- eslint
- npm
- spring
- regex
- git
- Spring Batch
- expire_logs_days
- log4j2
- Webpack
- java
Archives
- Today
- Total
728x90
목록tasklet (1)
728x90
내 세상
[Spring Batch] Tasklet, Chunk
배치 처리 방법 2가지 1. Tasklet을 사용한 Task 기반 처리 - 배치 처리 과정이 비교적 쉬운 경우 쉽게 사용 - 대량 처리를 하는 경우 더 복잡 - 하나의 큰 덩어리를 여러 덩어리로 나누어 처리하기 부적합 2. Chunk를 사용한 chunk(덩어리) 기반 처리 - ItemReader, ItemProcessor, ItemWriter의 관계 이해 필요 - 대량 처리를 하는 경우 Tasklet보다 비교적 쉽게 구현 - 예를 들면 10,000개의 데이터 중 1,000개씩 10개의 덩어리로 수행 - 이를 Tasklet으로 처리하면 10,000개를 한번에 처리하거나, 수동으로 1,000개씩 분할 Github link https://github.com/woniper/fastcampus-spring-bat..
Technical/Spring Cloud
2022. 12. 21. 16:16