Menu

How I built my own Airflow/Temporal (no)
📰

How I built my own Airflow/Temporal (no)

DEV Community: typescript·Sergey Khalilov·3 days ago
#9dcpWhav
#devtotypescript#devto#dev#cart#graph
Reading 0:00
15s threshold

My name is Sergey. For 20+ years, I've been hitting the same wall: business logic in projects grows too complex, and after a while, even the author can't explain how it works.

Let me be clear: the title is a joke, but it's not lying. Airflow and Temporal are fantastic tools, but they are in a different weight class. They need schedulers, servers, distributed workers, and durable state. I needed a tool for a scenario that lives for milliseconds inside a single process-on the server or in the browser. Dragging a grand piano just to play two notes felt a bit irrational.

The Basic Scenario

A basic scenario: get user input, validate, submit, show the result, handle errors. A classic in-out flow. Sounds simple. But in a real project, it turns into a knot of conditions, checks, and error handlers scattered across dozens of classes, helpers, and files.

The developer is afraid to touch someone else's code ("it might break and I'll get blamed").…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.