How to Give Millions of Workflows Quality Sleep
Deep dive 4 min +40 XP
DBOS workflow suspension lets a durable workflow that is sleeping or waiting for a notification (via `suspend=True` on `DBOS.recv` or `DBOS.sleep`) mark itself SUSPENDED in its database row, record a delay deadline and suspend key, and exit via a special exception, so it holds no thread, memory or queue slot.