By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: QCon SF: Database-Backed Workflow Orchestration Challenges Traditional Architecture
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > News > QCon SF: Database-Backed Workflow Orchestration Challenges Traditional Architecture
News

QCon SF: Database-Backed Workflow Orchestration Challenges Traditional Architecture

News Room
Last updated: 2025/11/18 at 11:56 AM
News Room Published 18 November 2025
Share
QCon SF: Database-Backed Workflow Orchestration Challenges Traditional Architecture
SHARE

During QCon San Francisco 2025, Jeremy Edberg and Qian Li from DBOS presented a non-conventional architectural approach to workflow orchestration: treating PostgreSQL not just as a data store, but as the orchestration layer itself. Their talk addressed a persistent problem in distributed systems: workflows frequently fail, recovery mechanisms are complex, and visibility into workflow state remains challenging.

According to the speakers, modern applications routinely write workflows, but current solutions struggle with fundamental challenges. Failures occur frequently, existing orchestration tools lack adequate visibility into what’s happening, and coordination logic becomes scattered across multiple systems. “Your database is all you need,” Li noted, pointing to the reality that most teams already have most of the infrastructure to implement workflow support themselves, given an application-level “workflow wrapper” library.


The challenges of external orchestration

The DBOS Transact approach, available as an open-source library under an MIT license for Python, TypeScript, Go, and Java, inverts the traditional architecture stack. Instead of building orchestration layers on top of databases, workflows translate directly into database operations.



The Transact approach – an App Server with a library performing distributed orchestration using the database

The library relies on a checkpoint system. Before executing any workflow step, the system records the input to the database, and after each step execution, it checkpoints the output. When interruptions occur, workflows can resume from the last successful checkpoint rather than restarting from scratch. This approach leverages PostgreSQL’s ACID properties to guarantee exactly-once execution semantics without requiring separate orchestration infrastructure.

The database-backed approach enables several practical capabilities that address everyday operational challenges. Workflow management becomes possible through standard SQL queries, allowing teams to list, search, cancel, and resume workflows directly through database operations. The presenters also demonstrated a “fork” capability for debugging production issues: teams can restart a workflow from a specific step by copying the original inputs and outputs up to that step into a new workflow, and replay execution with updated code. This process greatly simplifies fixing bugs and replaying events to apply the fix.



Fixing Bugs with Forks on Transact

The speakers also acknowledged several challenges inherent to this approach. Lock contention emerges as a primary concern when multiple workers pull tasks from the same queue, potentially degrading performance. The team addresses this through PostgreSQL’s “FOR UPDATE SKIP LOCKED” clause, which allows each worker to select and lock only unlocked workflow rows, enabling efficient concurrent processing.

Decentralized cron scheduling presents another challenge: rather than maintaining a central scheduler, each worker runs the same cron scheduler and uses the scheduled time as a unique workflow identifier to ensure idempotent execution. To prevent thundering herd problems when workers wake simultaneously, the library applies random jitter to sleep intervals, distributing load and checking for workflow existence before execution.

Testing workflows also becomes more straightforward in this model. The presenters emphasized that workflows work identically in local development and production environments. Unit testing workflows is simpler because the checkpoint mechanism allows for easier mocking and state management.

This architectural pattern has historical precedents. Windows Workflow Foundation, introduced nearly two decades ago with .NET Framework 3.0, similarly used SQL Server persistence to maintain workflow state across failures. However, that approach relied on DSL-based workflow definitions and required substantial configuration overhead, limiting adoption primarily to Microsoft’s own products. The DBOS approach differs in that it uses lightweight code annotations in mainstream languages rather than a separate workflow definition language.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article The Best Binoculars Will Help You Find the Ivory Billed Woodpecker The Best Binoculars Will Help You Find the Ivory Billed Woodpecker
Next Article Hank Green’s Focus Friend is Google Play’s app of the year |  News Hank Green’s Focus Friend is Google Play’s app of the year | News
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Govee X JBL Table Lamp 2 Pro Review: The perfect party starter
Govee X JBL Table Lamp 2 Pro Review: The perfect party starter
Gadget
At 0 off, Samsung's Galaxy Tab A9+ mid-ranger defies its age to top your holiday shopping list
At $140 off, Samsung's Galaxy Tab A9+ mid-ranger defies its age to top your holiday shopping list
News
Nonprofit Social Media: Tips on How to Achieve Big Results with Small Teams
Nonprofit Social Media: Tips on How to Achieve Big Results with Small Teams
Computing
Cloudflare Outage Hits Hard Across the Web, but Recovery Is in Progress
Cloudflare Outage Hits Hard Across the Web, but Recovery Is in Progress
News

You Might also Like

At 0 off, Samsung's Galaxy Tab A9+ mid-ranger defies its age to top your holiday shopping list
News

At $140 off, Samsung's Galaxy Tab A9+ mid-ranger defies its age to top your holiday shopping list

5 Min Read
Cloudflare Outage Hits Hard Across the Web, but Recovery Is in Progress
News

Cloudflare Outage Hits Hard Across the Web, but Recovery Is in Progress

5 Min Read
Consumer group warns against trusting AI financial advice – UKTN
News

Consumer group warns against trusting AI financial advice – UKTN

2 Min Read
Marshall’s Luxe Heston 120 Soundbar Sounds Superb, But There’s One That Sounds Even Better
News

Marshall’s Luxe Heston 120 Soundbar Sounds Superb, But There’s One That Sounds Even Better

5 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?