Spring Batch Performance Tuning
summary
Refactors a single‑threaded Spring Batch job that resizes ~5,000 images into Concurrent Steps, AsyncItemProcessor/AsyncItemWriter, Remote Chunking and Remote Partitioning, showing measured runs: single‑thread ~2m49s, multi‑thread ~43–46s, async ~49s, remote chunking ~1m2s using multiple slave processes over JMS (ActiveMQ) in demos. Uses Spring Batch 3.x (JSR‑352 support), Spring Integration for messaging, and deploys jobs to Spring XD for high availability, showing the distributed builds actually run and report back to the job repository.
AI-written summary · about
chapters (32)
- 0:00Introduction to Batch
- 1:36Spring Batch Basics
- 3:24Batch Job Features
- 5:38Core Features & Config
- 7:05Architecture & Concepts
- 8:31Chunk Processing
- 10:28Readers & Writers
- 12:15Job Metadata
- 13:30Spring Integration
- 15:48Patterns & Adapters
- 17:59Integration Messaging
- 20:44Batch Integration
- 22:28Job Launching
- 24:28Events & Notifications
- 26:42Q&A on Integration
- 31:48Scaling Strategies
- 34:02Demo: Image Resizing
- 35:55Code Walkthrough
- 39:08Multi-threaded Steps
- 42:01Async Processing
- 44:13Remote Chunking
- 47:04Remote Chunking Setup
- 50:04Remote Chunking Demo
- 52:51Remote Partitioning
- 55:19Partitioner Logic
- 58:21Remote Partition Demo
- 1:00:29Dynamic Job Launching
- 1:03:41File Ingestion Demo
- 1:07:12Spring XD Overview
- 1:11:12XD Batch Management
- 1:16:26XD Demo & Admin UI
- 1:23:37Resources & Q&A
related talks
45mPerformance Testing and Tuning of Web Applications
50mPerformance Testing Java Applications
37mImproving Spring Boot test efficiency
47mScaling Integration Tests: Parallel Spring Tests with JUnit & Testcontainers
29mJava Performance Testing for Everyone
02h 43mSpring Boot testing: Zero to Hero
44mPractical guide to performance Benchmarks
38mFixing your performance and concurrency bugs
