All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Benchmarking Postgres Write Scalability for Durable Workflow Execution

By

KraftyOne

1mo ago· 6 min readenInsight

Summary

This article benchmarks the scalability of a single Postgres server for durable workflow execution systems. It focuses on measuring Postgres write performance, which is the bottleneck in workflow execution due to the need to checkpoint inputs, outcomes, and step results. The article addresses the common question of whether Postgres scales by providing practical performance data rather than just theoretical assertions.

Key quotes

· 3 pulled
When building a durable workflow execution system on Postgres, one of the most common questions we get is 'does Postgres scale?'
There are plenty of posts from top tech teams asserting that Postgres does scale, but not all show how its performance scales in practice.
We focus on the performance of Postgres writes as those are the bottleneck in workflow execution: a durable workflow has to write to the database multiple times to checkpoint its inputs, its outcome, and the outcome of each of its steps.
Snippet from the RSS feed
Benchmarking the workflow execution and workflow queueing scalability of a single Postgres server.

You might also wanna read