Benchmark Results: Eight Job Libraries on PostgreSQL

Throughput and latency of BackWave, Acta, Wolverine, MassTransit, Quartz.NET, TickerQ, Hangfire, and JobMaster on one PostgreSQL server, with the method, the settings, and where BackWave does not lead.


This page compares eight .NET background-job and messaging libraries on the same PostgreSQL server, the same machine, and the same 40 worker slots: BackWave, Acta, Wolverine, MassTransit, Quartz.NET, TickerQ, Hangfire, and JobMaster. Seven libraries ran every workload in the same 5 rounds, in a rotated order, between 2026-12-04 and 2026-12-05.

Wolverine ran in a second 5-round battery on 2026-12-05, with the same harness, server, and settings. Acta and two BackWave rows ran again in that battery as a reference. Their medians came within 5.1% of the first battery in every cell, and within 2.3% in the drains. The Wolverine rows are marked with a dagger (†).

Every number on this page is local mode, M1 Max, indicative. The numbers come from one Apple M1 Max desktop with Postgres in Docker, not from the pinned cloud instance that Performance & Benchmarks requires for official numbers. Use them for shapes and ratios. A Linux server without a VM will give different absolute numbers for every library.

BackWave's authors ran this benchmark, so weigh it accordingly. The settings of every library are on this page, and the harness is public. If a library is configured unfairly, open an issue.

Summary#

BackWave is 1.10.1 in three rows: 1 Worker Group x 40 slots, 4 groups x 10 slots, and 1 group x 40 with two opt-ins, UnwrittenOutcomeSlots 40 and Max Auto Prepare=64. Both opt-ins are off by default.

  1. Acta leads both drains. It drained 14,695 noop jobs/s and 3,004 jobs/s with a 10 ms handler. BackWave with the opt-ins drained 13,875 and 2,661, that is, 0.94 and 0.89 times Acta.
  2. Without the opt-ins, BackWave drains about half as fast as Acta. BackWave drained 6,453 noop jobs/s with 1 group and 7,984 with 4 groups.
  3. BackWave is second in the noop drain. Wolverine drained 5,619 noop jobs/s, MassTransit 4,669, Quartz.NET 1,231, TickerQ 869, Hangfire 601, and JobMaster 76.
  4. Wolverine is second in the 10 ms drain. It drained 2,930 jobs/s, 0.98 times Acta and ahead of every BackWave row. At 50 jobs/s it had the lowest p99, 13.9 ms. See Wolverine.
  5. Under unpaced load, BackWave with the opt-ins completes the most jobs, but builds a backlog. It completed 7,602 jobs/s against Acta's 5,770. Its producers offered 10,267 jobs/s against Acta's 6,089, so its median latency was 734.1 ms against Acta's 127.5 ms.
  6. At the same arrival rate, BackWave with the opt-ins has the lowest median latency. At 6,000 jobs/s, its p50 was 4.8 ms and Acta's 15.0 ms. At 2,000 and 4,000 jobs/s, Acta had the lowest p99.
  7. BackWave has the lowest paced median latency. At 50 jobs/s, the opt-ins had a p50 of 5.5 ms and Acta 7.8 ms. At 500 jobs/s, the opt-ins had 5.6 ms and Acta 6.4 ms. BackWave's clock stops later than Acta's, see The end-to-end clock.
  8. Hangfire did not keep up with 500 jobs/s, and JobMaster did not keep up with 50 jobs/s. JobMaster pauses each run slot for 500 ms after every job on its Medium lane, by design. See JobMaster.
  9. TickerQ ran some jobs twice. In all 5 unpaced rounds, TickerQ 10.4.0 ran 3 to 13 jobs a second time out of 20,000. Every job succeeded. See TickerQ.

Results#

Each figure is the median of 5 rounds, with the minimum and maximum in brackets. The best figure in each column is bold.

Throughput (jobs/s)#

LibraryDrain, noopDrain, 10 ms handlerUnpaced load
Acta14,695 [14,337-14,873]3,004 [2,993-3,122]5,770 [5,601-6,006]
BackWave, 1 group, opt-ins13,875 [13,344-15,115]2,661 [2,632-2,730]7,602 [5,118-7,838]
BackWave, 4 groups7,984 [7,703-8,175]2,490 [2,465-2,541]4,427 [4,197-4,546]
BackWave, 1 group6,453 [6,089-6,699]2,228 [2,197-2,253]4,742 [4,264-4,794]
Wolverine †5,619 [5,570-5,901]2,930 [2,692-2,961]3,286 [3,250-3,333]
MassTransit4,669 [4,590-4,763]2,044 [2,015-2,068]1,934 [1,901-1,950]
Quartz.NET1,231 [1,219-1,278]1,087 [1,016-1,114]898 [870-904]
TickerQ869 [837-873]731 [701-745]1,798 [1,736-1,831]
Hangfire601 [572-616]581 [565-586]364 [353-389]
JobMaster76 [75-76]74 [74-75]65 [63-66]

With a 10 ms handler and 40 slots, the ceiling is 4,000 jobs/s. Acta reached 75% of it, Wolverine 73%, BackWave with the opt-ins 67%, BackWave with 4 groups 62%, BackWave with 1 group 56%, and MassTransit 51%.

End-to-end latency (ms)#

Read The end-to-end clock before you compare these rows.

Library50 jobs/s, p5050 jobs/s, p99500 jobs/s, p50500 jobs/s, p99
Acta7.8 [7.0-7.9]17.3 [16.3-20.4]6.4 [4.7-6.5]12.2 [10.6-13.0]
BackWave, 1 group, opt-ins5.5 [5.3-5.9]25.5 [16.0-49.0]5.6 [5.5-5.6]13.1 [12.2-17.0]
BackWave, 4 groups5.6 [5.5-5.6]14.5 [13.8-33.4]6.4 [6.2-6.6]12.9 [12.6-14.0]
BackWave, 1 group6.6 [6.5-6.9]16.5 [12.4-41.9]6.6 [6.6-6.9]13.5 [11.6-14.6]
Wolverine †6.7 [6.5-6.7]13.9 [12.1-22.0]9.7 [9.6-10.6]17.3 [16.8-19.2]
MassTransit11.3 [11.2-11.8]25.8 [23.2-34.7]12.6 [12.4-12.6]22.8 [22.3-23.9]
Quartz.NET20.8 [20.4-21.4]37.7 [32.4-41.4]31.8 [31.5-32.3]395.4 [389.4-429.1]
TickerQ12.4 [12.0-13.6]29.2 [26.3-37.6]9.0 [8.4-9.5]21.2 [20.2-22.5]
Hangfire18.3 [18.1-18.5]29.7 [27.2-31.8]did not keep updid not keep up
JobMasterdid not keep updid not keep upnot runnot run

"Did not keep up" means that the library completed less than 98% of the offered rate in all 5 rounds. Hangfire completed 351 of 500 jobs/s, and JobMaster 40 of 50 jobs/s. JobMaster did not run at 500 jobs/s because it cannot carry 50.

Unpaced load measures the backlog#

In the unpaced workload, 32 producers enqueue 20,000 jobs as fast as they can while the library runs them. Each library's enqueue call takes a different time, so each library gets a different arrival rate.

LibraryArrival (jobs/s)Completion (jobs/s)Enqueue p50 (ms)End-to-end p50 (ms)
Acta6,0895,7704.89127.5
BackWave, 1 group, opt-ins10,2677,6022.85734.1
BackWave, 4 groups7,0504,4274.171,713.8
BackWave, 1 group8,4614,7423.481,640.6
Wolverine †3,2963,2869.2210.5
MassTransit1,9371,93416.3720.5
TickerQ1,8021,79816.7923.7
Quartz.NET1,95289814.058,735.3
Hangfire61336429.7915,081.7
JobMaster6076546.5139,132.4

When arrival is above completion, a backlog builds, and the latency is mostly time in the queue. Wolverine, MassTransit, and TickerQ have the lowest latency here because their enqueue takes 9 to 17 ms, so their producers never offer more than they can complete. So this latency column does not rank the libraries at one load. The next table does.

Latency at equal arrival rates#

Each cell enqueues 5 seconds of jobs at a fixed rate with 32 producers and no handler delay. Median of 3 rounds.

Arrival (jobs/s)LibraryCompletion (jobs/s)p50 (ms)p99 (ms)
2,000BackWave, 1 group1,9966.116.2
2,000BackWave, opt-ins1,9954.811.6
2,000Acta1,9955.610.5
4,000BackWave, 1 group3,9856.245.2
4,000BackWave, opt-ins3,9884.629.7
4,000Acta3,9485.915.2
6,000BackWave, 1 group4,6701,296.31,685.5
6,000BackWave, opt-ins5,9724.846.1
6,000Acta5,90715.0115.2

BackWave with 1 group cannot carry 6,000 jobs/s, so a backlog builds. Acta and BackWave with the opt-ins carry all three rates.

Resources#

LibraryPeak DB connections, drainPeak DB connections, unpacedClient CPU %, drain
Acta6378.9
BackWave, 1 group, opt-ins6378.0
BackWave, 4 groups124510.0
BackWave, 1 group6384.7
Wolverine †10444.6
MassTransit444512.3
Quartz.NET42737.2
TickerQ46769.5
Hangfire467612.2
JobMaster13252.9

The connection counts come from pg_stat_activity and include the 32 producers in the unpaced cell. CPU % is the CPU time of the client process divided by the window times 10 cores. It does not include Postgres. Wolverine's 4 listeners and its LISTEN/NOTIFY connection add to its count.

Where BackWave does not lead#

CellLeaderBackWave 1.10.1
Drain, noopActa, 14,695 jobs/s13,875 (opt-ins), 7,984 (4 groups), 6,453 (1 group)
Drain, 10 ms handlerActa, 3,004 jobs/s, and Wolverine, 2,930 jobs/s2,661 (opt-ins), 2,490 (4 groups), 2,228 (1 group)
Unpaced load, end-to-end p50Wolverine 10.5 ms, MassTransit 20.5 ms, TickerQ 23.7 ms, Acta 127.5 ms734.1 ms (opt-ins) and more. All BackWave rows are backlogs
Unpaced load, without the opt-insActa, 5,770 jobs/s4,742 (1 group), 4,427 (4 groups)
50 jobs/s, p99Wolverine, 13.9 ms14.5 ms (4 groups), 16.5 ms (1 group), 25.5 ms (opt-ins). The ranges overlap
500 jobs/s, p99Acta, 12.2 ms12.9 to 13.5 ms. The ranges overlap
Equal rate 2,000 and 4,000 jobs/s, p99Acta, 10.5 and 15.2 ms11.6 and 29.7 ms (opt-ins)
Equal rate 6,000 jobs/s, without the opt-insActa carries it at a p50 of 15.0 ms1 group completes 4,670 jobs/s
Client CPU, drainJobMaster, 2.9%4.7% (1 group)
Peak DB connections, unpacedJobMaster, 2537 (opt-ins), 38 (1 group)

Method#

Machine and versions#

ItemValue
HostMac Studio, Apple M1 Max, 10 cores, 32 GiB, macOS 27.0.1
Databasepostgres:17-alpine (PostgreSQL 17.12) in Docker, default configuration, one server for every library, each in its own database
Runtime.NET 10.0.15, Release builds
LibraryVersionLicense
BackWave1.10.1PolyForm Shield 1.0.0 (free packages)
ActaActa and Acta.Postgres 1.0.0-rc.15, a release candidateApache-2.0
Wolverine6.67.0 (WolverineFx, WolverineFx.Postgresql), Postgres queue transportMIT
MassTransit8.5.12, SQL transport. The last Apache-2.0 release. Version 9 needs a license keyApache-2.0
Quartz.NET4.7.3, ADO.NET job store, clusteredApache-2.0
TickerQ10.4.0. The newest version that runs jobs without a license certificateMIT or Apache-2.0
Hangfire1.8.25 with the community Hangfire.PostgreSql 1.21.1LGPL-3.0 or commercial
JobMaster0.0.11-alpha, a pre-releaseMIT

Settings#

Every library gets 40 run slots, four per core on this machine. The table lists every setting that differs from the library's default.

LibrarySettings
BackWave40 slots (default 20 per group), claim batch 128 (default 32), poll 25 ms (default 1 s), lease 30 s (default 60 s). A claim never takes more jobs than the free slots, so each claim took at most 40 jobs with 1 group. The opt-in row adds UnwrittenOutcomeSlots 40 and Max Auto Prepare=64
ActaOne worker, MaxConcurrentExecutors 40, which is Acta's default on this machine. Every other setting is the Acta default
WolverineMaximumParallelMessages 40 (default: the core count), MaximumMessagesToReceive 1,000 (default 20), ListenerCount 4 (default 1), polling 25 ms (default 5 s), EnableQueueNotifications on (default off). Durable endpoint, the Postgres queue default
MassTransitConcurrent message limit 40, transport connection limit 40 (default 10), prefetch 48
Quartz.NETClustered, thread pool 40 (default 10), MaxBatchSize 40, IdleWaitTime 1 s (default 30 s), LockOnInsert false
TickerQConcurrency 40 (default: the core count), fallback scan 10 ms (default 30 s), minimum poll 0 (default 1 s)
Hangfire40 workers (default 20 here), QueuePollInterval 200 ms (default 15 s), sliding invisibility timeout, automatic retries off
JobMaster40 slots, one bucket, Medium priority (the lane that JobMaster's own benchmark uses), bucket buffer 1,000 (default 250), retries 0

UnwrittenOutcomeSlots lets a finished job free its slot before its outcome is written. It is off by default because, after a crash, more jobs can run again. Max Auto Prepare is not supported by PgBouncer in transaction mode before PgBouncer 1.21.

Workloads#

WorkloadWhat it does
Drain, noopEnqueue 20,000 jobs that do nothing, then time how fast the library runs them all
Drain, 10 ms handlerThe same, with a 10 ms handler
Unpaced load32 producers enqueue 20,000 jobs as fast as they can while the library runs them
50 jobs/s50 jobs/s offered for 30 s by 8 producers
500 jobs/s500 jobs/s offered for 30 s by 32 producers
Equal rate2,000, 4,000, or 6,000 jobs/s offered for 5 s by 32 producers, for BackWave and Acta only

JobMaster runs 5,000 jobs instead of 20,000 in the drain and unpaced cells, because it is slow. Each cell is one warmup run and one measured run.

The end-to-end clock#

End-to-end latency starts at the enqueue call for every library. The stop point differs:

Stop pointLibraries
Handler returnActa, Wolverine, MassTransit, Quartz.NET, TickerQ
Durable success writeBackWave, Hangfire, JobMaster

So the latency tables favor the first row. Acta writes its durable completion in batches after the handler returns, and that write is not in its latency. Throughput does not depend on this clock: a drain ends only when the database shows every job finished, for every library.

Fairness controls#

  • Rotated order. Each round runs every cell once, in an order that rotates per round, so drift in heat or load spreads over all libraries.
  • Idle gate. Each cell starts only when the machine is at least 85% idle.
  • Outside load. During each cell, a sampler adds up the CPU of every process outside the benchmark and the Docker VM. If the mean is more than one core, the cell is discarded and runs again. 4 of 247 cells in the first battery ran again, and 3 of 100 in the second.
  • Work audit. Every run checks that each enqueued job succeeded, that each handler ran exactly once, and that every completion falls inside the timed window. Every cell passed, except TickerQ's unpaced cells.
  • Docker latency floor. On macOS, Postgres runs in Docker's Linux VM, and a round trip costs 0.26 ms back to back but up to 3.49 ms after an idle gap. Every library pays this per round trip, so the paced latency of every library will be lower on a Linux host.

Notes on each library#

Acta#

Acta was the fastest library in both drains, on its own defaults, with extra work on: it records every lifecycle event to an audit table and runs its system jobs and crash recovery in the same worker. An Acta executor hands its finished job to a bounded queue and takes the next job at once. One finalizer call then writes about 127 completions in one round trip, and one claim takes about 34 to 39 jobs. In an earlier measurement on BackWave 1.9.1, Acta made 0.037 database round trips per job and BackWave 0.351, while both used about the same Postgres server time per job. BackWave's opt-ins in 1.10 came from that study.

Acta is a release candidate, so its numbers can change before a stable release. Its operator guide recommends a larger max_wal_size for sustained load. This battery ran every library on the stock Postgres configuration, so Acta did not get that tuning.

Wolverine#

Wolverine is a message bus with a durable inbox and outbox, not a job scheduler. The benchmark sends one message per job to one Postgres queue, and one static handler handles it. A Postgres queue has no inline send mode, so each send writes an outbox row, and a sending agent moves it to the queue table. A listener poll moves rows into the inbox, and Wolverine marks them Handled in batches.

On its own defaults, Wolverine drained about 79 jobs/s: a listener takes 20 messages per poll, then waits 250 ms after a full batch. So the benchmark sets four listener values, picked from a grid over batch size (100, 500, 1,000), listener count (1, 4, 8), polling, and notifications. The chosen values gave the best latency at 50 jobs/s. A 5 s poll with the same batch and listeners did not drain faster over 5 rounds, and its latency at 50 jobs/s was about 2.5 s. All listeners share one receiver, so the limit of 40 parallel messages applies to the whole endpoint.

Under unpaced load, a Wolverine send took 9.2 ms at p50, because it writes to the outbox. So its 32 producers offered 3,296 jobs/s, and Wolverine completed all of them with a p50 of 10.5 ms. With a 5 s poll, the producers offered 5,915 jobs/s, and Wolverine completed 2,947. So Wolverine sustains about 3,000 jobs/s on both its send side and its run side.

The noop drain has two modes. In the grid and in one of 5 rounds of the 5 s poll setting, the drain reached about 11,500 jobs/s. Every other run was between 5,570 and 5,901. This page reports the median.

MassTransit#

MassTransit is a message bus, not a job scheduler. The benchmark sends one message per job to one queue with one consumer, and messages are durable rows in Postgres. Under unpaced load, its 32 producers at about 16 ms per send are the limit, so it completes jobs as fast as they arrive.

Quartz.NET#

Quartz.NET enqueues one durable job and one fire-now trigger per job. Its enqueue takes about 11 ms at 50 jobs/s, about half of its end-to-end latency. Under unpaced load, the producers offered 1,952 jobs/s and Quartz.NET completed 898. Its p99 at 500 jobs/s, 395 ms, has an unknown cause.

TickerQ#

Under unpaced load, TickerQ 10.4.0 ran 3 to 13 jobs a second time out of 20,000, in every round. Every job ended Succeeded, so only the execution count shows it. A separate run on TickerQ's own default settings also showed duplicates, in 2 of 10 runs, so the benchmark tuning does not cause it.

A trace of a duplicated job showed this sequence. The run-now path in AddAsync takes the job, the handler runs, and TickerQ writes Done. Then the scheduler loop's SetTickersInProgress sets the same row back to InProgress, because its UPDATE checks neither the status nor the lock holder. The handler runs again. TickerQ 10.4.0 documents no delivery guarantee. Newer TickerQ versions need a license certificate to run jobs and were not tested.

Hangfire#

Hangfire completed 351 of 500 jobs/s at the 500 jobs/s rate. Earlier runs tested two other settings at 50 jobs/s. With long polling on, latency doubled and the heavier runs failed with 53300 too many clients. With a 50 ms poll, the p50 fell from about 19.6 ms to 16.7 ms, and the drain did not change. The battery keeps a 200 ms poll. The Postgres storage for Hangfire is community-maintained, not first-party.

JobMaster#

JobMaster pauses each run slot after every job: 500 ms on its Medium lane and 100 ms on its Critical lane. So its completion ceiling is about slots / (job time + lane pause + about 26 ms). On the Medium lane at 40 slots, that is about 76 noop jobs/s, which is what this battery measured. This is a design choice, not a fault.

The table above uses the Medium lane, the lane that JobMaster's own benchmark uses. A separate 3-round battery on 2026-12-03, on JobMaster 0.0.12-alpha with the same 40 slots, tried the Critical lane with a bucket buffer of 4,000:

HandlerBackWave 1.10.0, 1 groupJobMaster, Critical laneJobMaster, Medium lane
noop6,861 jobs/s267 jobs/s76 jobs/s
10 ms2,153 jobs/s268 jobs/s73 jobs/s
375 ms101 jobs/s74 jobs/s44 jobs/s

These numbers are far below the figures on JobMaster's own benchmark page, and the two do not disagree. That page reports two metrics. Its headline figures, about 7k to 29k jobs/s, are scheduling (ingest) rates over 5 to 40 worker containers. Its end-to-end completion figures are in the tens to hundreds of jobs/s. This page counts completed jobs on 40 slots on one machine. It does not compare scheduling rates.

BackWave across versions#

The same harness on the same machine, each column from its own battery:

BackWave cell1.8.01.9.01.10.01.10.1
1 group, drain noop (jobs/s)1,8647,1407,1216,453
1 group with opt-ins, drain noop (jobs/s)--12,52313,875
1 group, drain 10 ms (jobs/s)1,6092,0112,1502,228
1 group, unpaced load (jobs/s)1,5254,0844,7184,742
1 group, 50 jobs/s p50 (ms)16.611.16.16.6

Before 1.10.1, the store limited every claim to 32 jobs, even when the claim batch was set higher. In 1.10.1 a claim can take up to the free slots, 40 here. With the opt-ins, this added 11% to the noop drain. Without them, the 1-group noop drain fell 9%, and the cause is not yet known. A user on the default claim batch of 32 is not affected.

Run it yourself#

The harness and the battery script are in the BackWave repository. The script runs every library and workload for 5 rounds and writes a summary:

Run the battery
git clone https://github.com/Back-Wave/BackWave && cd BackWave
docker compose up -d --wait postgres
OUT_DIR=benchmarks/results/my-run ROUNDS=5 bash benchmarks/blog/run-blog.sh

The Wolverine target is wolverine-postgres. Its defaults are the settings on this page.

To run the BackWave opt-in row for one cell, add the two opt-ins:

Run one cell with the opt-ins
BACKWAVE_POSTGRES_DSN="Host=localhost;Port=5499;Username=backwave;Password=backwave;Database=backwave_test;Max Auto Prepare=64" \
dotnet run -c Release --project benchmarks/BackWave.Benchmarks -- \
  --target postgres --unwritten-outcome-slots 40 --mode local \
  --arrival drain --delay-ms 0 --jobs 20000 --warmup 1 --runs 1

A full battery needs an idle machine for about 6 hours. Stop other builds and tests first, because the idle gate waits for them.

Found a problem on this page? Report an issue