PrefectHQ
prefect
BlogDocsChangelog

feat: convert background services to docket perpetual functions

#19676
Comparing
docket-for-loops
(
1d637fa
) with
main
(
b465d81
)
CodSpeed Performance Gauge
+1%
Untouched
2
Ignored
6

Benchmarks

Passed

bench_task_decorator
benches/bench_tasks.py
CodSpeed Performance Gauge
+1%
463.5 µs459.8 µs
bench_import_prefect_flow
benches/bench_import.py
CodSpeed Performance Gauge
0%
1.4 s1.4 s

Ignored

bench_import_prefect
benches/bench_import.py
Ignored
CodSpeed Performance Gauge
+1%
1.1 s1.1 s
bench_task_submit
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
-22%
10 ms12.9 ms
bench_flow_call[options1]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
0%
107.7 ms107.7 ms
bench_flow_call[options0]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
+4%
168.5 ms162.3 ms
bench_task_call
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
-3%
31.7 ms32.8 ms
bench_flow_decorator
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
+7%
5.6 ms5.2 ms

Commits

Click on a commit to change the comparison range
Base
main
b465d81
+0.68%
fix: use correct OpenAPI schema names with -Output suffix The generated OpenAPI types have -Input/-Output suffixes for schemas with validators. Update UI code to use the -Output variant since these are response types. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
83ddd6d
8 hours ago
by zzstoatzz
-0.52%
docs: update self-hosted docs for docket-based background services - Remove separate background service (prefect server services start) - Background services now run embedded in API servers via docket workers - Remove invalid PREFECT_SERVER_CONCURRENCY_LEASE_STORAGE setting - Update architecture diagram to show docket workers in API servers - Add note explaining docket's Redis-based task coordination - Simplify docker-compose example (no separate background container) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
0623198
7 hours ago
by zzstoatzz
+0.53%
refactor: use docket.register_collection for task registration Simplify task registration by using docket's register_collection() method instead of 13 individual register() calls. This makes it easier to add new tasks - just append to the task_functions list. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
bd0c448
6 hours ago
by zzstoatzz
0%
Revert "docs: update self-hosted docs for docket-based background services" This reverts commit 06231984f3f6db5bf891168030e91ccd37f963f4.
4542691
6 hours ago
by zzstoatzz
-0.16%
docs: update self-hosted docs for docket-based background services - Update architecture diagram to show horizontally scaled background services - Remove invalid PREFECT_SERVER_CONCURRENCY_LEASE_STORAGE setting - Add note explaining horizontal scaling with Redis consumer groups - Add Docker Compose example with 3 horizontally scaled background services - Update Redis description to show consumer groups coordination 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1d637fa
6 hours ago
by zzstoatzz
© 2025 CodSpeed Technology
Home Terms Privacy Docs