Asynchronous Job Processing in Java with JobRunr
summary
JobRunr is a lightweight Java library that offloads long-running tasks to background workers using Postgres (or MongoDB) persistence and a Spring Boot starter; live coding builds a leader (controller) and worker (train) pair, enqueues a DriveRequest via a JobScheduler, and the demo shows jobs execute, retry, and appear in the dashboard. Default retry is 10 retries, metrics export via Micrometer, JSON serialization via Jackson, recurring jobs and dashboarded replay work; leader + worker demo worked.
AI-written summary · about
chapters (10)
- 0:00Introduction and context
- 3:51Agenda overview
- 5:11Understanding JobRunr
- 9:17Framework comparisons
- 14:05Setup and configuration
- 16:21Live coding demonstration
- 29:12Monitoring and error handling
- 32:21Advanced features and settings
- 37:02Best practices and carbon awareness
- 40:14Key takeaways and Q&A
related talks
53mJobRunr - Easy Distributed Job Scheduling
32mJobRunr - distributed background processing using only Java 8 lambda's
07mInterview of Ronald Dehuysser
32mA Java lambda is all you need for distributed background jobs!
06mManaging a Java Batch job with JobStreamer
28mBatch Processing with Spring Batch and Kubernetes
39mYour Java AI Agent at Home
25mGreen AI with JobRunr: Sustainable Training and Inference on the JVM
