Scaling JobRunr Under Load
From one server to a fleet, without rewriting a single job.
Next session
Next date to be announced
Online, private to registrants. Recording the next day.
RegisterWho it is for
Teams whose job volume is growing faster than their servers. Architects who have been asked 'can it handle ten times this?' and want a real answer before the next seasonal peak, the month-end run or the next big customer.
What we assume
You run JobRunr in at least one application, or you attended Foundations.
The hour, minute by minute
- 0:00
Where throughput stops
We enqueue ten times the load on a single server and watch what gives first: the worker count, the poll interval, or the database as the one queue everyone fetches from. How to read the dashboard and the Micrometer metrics before you touch any setting.
- 0:10
More servers, one database
Adding
BackgroundJobServerinstances and watching them share the work. What the jobs table does with three servers instead of one, and the settings that stop them from stepping on each other. Then the honest part: every server works from the same database, so at some point the database is the limit. The way past it is splitting your jobs over several clusters, each with its own database, and the Multi-Cluster Dashboard in JobRunr Pro Enterprise to watch them all from one place. - 0:25
Enqueueing a lot at once
Creating 100,000 jobs from a
Stream, saved to the database in bulk instead of one round trip each. How long that takes, what it does to the database compared to a loop, and what the workers do when 100,000 jobs land at once. - 0:35
Scaling the servers themselves
Autoscaling on queue depth and queue latency instead of CPU, using KEDA on Kubernetes with the metrics JobRunr Pro exposes. What to scale on, what to ignore, and why CPU is the wrong signal for a job server.
- 0:45
Where JobRunr Pro picks up
Priority queues so the invoice run does not wait behind the newsletter. Dynamic queues for fair share between tenants. Server tags to pin heavy jobs to big machines. Labelled as Pro, shown briefly.
- 0:50
Your questions
Ten minutes for the scaling questions from the room and from the registration forms: the peak you are planning for, the setup you run today, and what to change first.
Before the session
- JobRunr running in an application you can look at during the session, with the dashboard open.
- Your numbers: jobs per day today, the peak you have to survive, how many servers you run now.
What you leave with
- ✓ A scaling checklist: what to change first, second and third when the load doubles
- ✓ The questions to take to whoever owns your Kubernetes cluster before you switch on autoscaling
- ✓ The demo application, including the load generator
- ✓ The recording, the next day
- ✓ A free Architecture Review of how your jobs are set up to scale
Your trainers
Ronald Dehuysser
Creator of JobRunr, codes the whole hour
Nicholas D'hondt
Host, asks the questions you are thinking
Register for this training
Free. The link arrives by email the day before the session.
