~/talk

Scaling Batch Applications

Talkat Devnexus 2023 · 2023-04-04..04-06· [java, distributed-systems]
slides:none on file

Shows how Spring Batch 5 jobs actually scale with concrete numbers and code: uses async item processor + async item writer to cut a 10,000‑row job from 45s (processor sleep) down to ~10s, uses multi‑threaded task executor to parallelize chunks, and uses remote chunking via RabbitMQ (Spring Integration) to distribute chunks across worker JVMs (example 10k completed in ~11s). Notes need for the JobRepository tables, the enableBatchProcessing change in SB5, and chunk‑size tradeoffs (100k simple ≈7m vs async ≈1m40s).

AI-written summary · about

  1. 0:00Introduction to batch jobs
  2. 3:23Spring Batch fundamentals
  3. 9:10Step types and processors
  4. 14:48Five scaling techniques
  5. 15:55Parallel steps and flows
  6. 17:22Async processor and writer
  7. 19:11Multi-threading in Spring Batch
  8. 20:33Remote partitioning and chunking
  9. 25:59Demo setup and job definition
  10. 28:32Simple job performance test
  11. 29:36Impact of processor delays
  12. 31:20Async processor performance
  13. 33:30Multi-threading performance
  14. 35:16Remote chunking demo
  15. 40:58Remote chunking Q&A
  16. 45:13Combining scaling techniques
  17. 46:01Performance tuning factors
  18. 50:15Chunk size optimization
  19. 53:03Benchmark results summary
  20. 54:49Resources and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.