Learn

Learn Queuert's guarantees in about ten minutes and its chain shapes in ten more, with exercises that run on PostgreSQL or SQLite in your browser.

Each step teaches one idea and ends with a short exercise. The exercises run on a real database inside your browser, PostgreSQL through PGlite or SQLite through sql.js, so nothing needs installing. New to Queuert? Start with What is Queuert.

Essentials

How a chain runs and what Queuert guarantees about it. About 11 minutes.

  1. 1. Your first chainDefine a job type, start a chain and let a worker process it.2 min
  2. 2. Transactional outboxStart a chain in the transaction that saves your data, so neither exists without the other.3 min
  3. 3. Errors and retriesA job that throws or whose worker dies goes back to pending and runs again.3 min
  4. 4. Transactional completionComplete a job in the transaction that writes its result, so a retry never applies it twice.3 min

Shaping chains

Chains of several jobs, and jobs that wait for other chains. About 8 minutes.

  1. 5. Continuing a chainHand a chain from one job to the next with continueWith, and branch at runtime.4 min
  2. 6. Job blockersMake a job wait until other chains complete.4 min

Ready to use it in a project? Use it in your app installs Queuert with your database and migrates the schema.

Go further

esc

Search guides, integrations and every exported symbol.

↑ ↓ to navigate↵ to open