Absurd In Production

· Source: Armin Ronacher's Thoughts and Writings · Field: Technology & Digital — Software Development & Engineering, Artificial Intelligence & Machine Learning, Cloud Computing & IT Infrastructure · Depth: Advanced, medium

Summary

Earendil has been running Absurd, a durable execution system built entirely on Postgres, in production for five months since its initial release on November 3, 2025. Absurd uses a single SQL file for task management, checkpoint storage, event handling, and claim-based scheduling, complemented by thin SDKs for TypeScript, Python, and Go. The system allows tasks to be decomposed into checkpointed steps, enabling retries from the last completed step and supporting long-running, suspended workflows. Key enhancements include decomposed `beginStep()` / `completeStep()` for conditional logic, task result fetching for child workflows, a CLI tool `absurdctl` for debugging, and a web dashboard `Habitat` for monitoring. The core design, emphasizing SQL-based complexity and thin SDKs (TypeScript SDK ~1,400 lines, Python SDK ~1,900 lines), has proven robust, particularly its checkpoint-based replay model and pull-based scheduling.

Key takeaway

For AI Architects or Machine Learning Engineers evaluating durable execution solutions, Absurd offers a compelling, minimalist alternative to complex external services. Its Postgres-centric design and thin SDKs simplify debugging and deployment, making it ideal for agent workflows and background processing that require fault tolerance. Consider adopting Absurd to reduce infrastructure overhead and streamline the development of resilient, long-running tasks, especially if you prioritize self-hosting and direct database interaction.

Key insights

Absurd demonstrates that durable execution systems can be built effectively and minimally on Postgres alone.

Principles

Method

Absurd manages durable workflows by registering tasks, decomposing them into checkpointed steps, and storing all state in Postgres, allowing retries from the last successful step.

In practice

Topics

Code references

Best for: AI Architect, Machine Learning Engineer, Software Engineer, AI Engineer, MLOps Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Armin Ronacher's Thoughts and Writings.