Spring Batch: Which ItemReader implementation to use for high volume & low latency
Use case: Read 10 million rows [10 columns] from database and write to a file (csv format). Which ItemReader implementation among JdbcCursorItemReader & JdbcPagingItemReader would be suggested? What would be the reason? Which would be better performing (fast) in the above use case? Would the selection be different in case of a single-process vs multi-process approach? In case of a multi-threaded approach using TaskExecutor, which one would be better & simple? To process that kind of data, you're probably going to want to parallelize it if that is possible (the only thing preventing it would be