// Code meme

The job machine

our job system, two years later⏰ cron*/5 * * * *jobs tablestatus VARCHARworkerThread.sleep()status = STUCK?nobody knowsunstick.shrun by hand#ops-help"is job 4512 done?"retry_count++until 5, then?DONE ✓(sometimes)Every queue + cron + status column becomesa workflow engine. A bad one.ayushwing.com

Every queue + cron + status column becomes a workflow engine. A bad one. Like every meme on this site, it is drawn entirely in code: an SVG built from TypeScript, no stock art.

The serious version: Durable workflows vs. a queue and a cron job

← All memes