Home / Companies / DBOS / Blog / Post Details
Content Deep Dive

Workflows as Code - Dynamic Scheduling

Blog post from DBOS

Post Details
Company
Date Published
Author
Peter Kraft
Word Count
673
Company Posts That Month
4
Language
English
Hacker News Points
-
Post removed?
No
Summary

DBOS has enhanced its workflow scheduling capabilities by introducing dynamic workflow scheduling, replacing the previous static configuration approach. The new system stores workflow schedules in a database, allowing for real-time modifications without the need to redeploy code, thus offering flexibility in managing periodic processes like data syncing and report generation. This update enables users to dynamically adjust schedules, view, pause, resume, or trigger them via a dashboard, and automatically backfill missed actions during downtime. The underlying mechanism utilizes a workflow_schedules table in Postgres, with scheduler threads polling for updates and using a unique ID as an idempotency key to ensure workflows are executed only once, maintaining distributed and fault-tolerant scheduling. To address the thundering herd problem, the system introduces jitter, spreading out database activity and reducing contention by converting potential spikes in writes into reads.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Vector Search 1 2,370 415 145 +7%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.