<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/when-a-queue-isn-t-enough-fatefskys" -->

---
title: When a queue isn't enough | daily.dev
description: Queues and durable execution solve related but distinct problems: queues guarantee delivery of a job to a worker, while durable execution platforms like...
canonical: https://daily.dev/posts/when-a-queue-isn-t-enough-fatefskys
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: When a queue isn't enough | daily.dev
og:description: Queues and durable execution solve related but distinct problems: queues guarantee delivery of a job to a worker, while durable execution platforms like...
og:url: https://daily.dev/posts/when-a-queue-isn-t-enough-fatefskys
og:image: https://api.daily.dev/og/posts/FAtefsKys.png
og:image:alt: When a queue isn't enough
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# When a queue isn't enough

**[Inngest Blog](https://daily.dev/sources/inngest)** · 7 min read · 0 upvotes · 0 comments

## Summary

Queues and durable execution solve related but distinct problems: queues guarantee delivery of a job to a worker, while durable execution platforms like Temporal, Inngest, and AWS Step Functions guarantee completion of multi-step processes even through crashes. Queues (BullMQ, Celery, Sidekiq) work well for atomic, restart-safe tasks like sending emails or processing uploads. Durable execution becomes necessary when work is long-running, needs to wait for external events, must avoid re-running expensive or paid steps (like LLM calls), or requires coordinating state across multiple steps without manual tracking in Redis or a database. An AI lead-processing pipeline example illustrates the difference: on a queue it's six chained jobs with manual state tracking and polling, while on a durable execution platform it's one function with independently retryable steps and built-in suspension for human review.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.inngest.com/blog/when-a-queue-isnt-enough>

## Questions this post answers

### When should I use a queue like BullMQ instead of a durable execution platform?

Use a queue alone when the work is atomic, independently retryable, and describable as a single verb like send, process, sync, or generate. It must restart cleanly from scratch, meaning retrying the whole operation is always safe. Examples include sending a transactional email, processing an uploaded file, syncing a record to a third-party API, or running a nightly report.

_daily.dev surfaces backend architecture discussions for teams deciding between queues and durable execution._

### How do queuing platforms differ from durable execution platforms like Temporal or Inngest?

Queuing platforms such as BullMQ, Celery, and Sidekiq guarantee delivery of a job to a worker but leave what happens inside the job, and recovery from failure, up to you. Durable execution platforms like Temporal and Inngest guarantee completion by persisting execution state as work progresses, so a crashed process resumes exactly where it stopped instead of restarting. Temporal uses event sourcing and history replay while Inngest uses step-level checkpointing.

_daily.dev collects comparisons like this for engineers evaluating background job infrastructure._

### How do you avoid double-charging a payment or re-running an LLM call when a multi-step job fails partway through?

With queue-only solutions, teams manually track which sub-operations completed by writing progress state to Redis or a database and checking it at the top of each operation before skipping already-run steps. Durable execution platforms avoid this manual bookkeeping entirely: each step retries independently and only failed steps re-run, so a completed LLM call or payment charge is never repeated on resume.

_daily.dev helps engineers building AI pipelines track patterns for handling costly, non-idempotent retries._

## Similar posts on daily.dev

- [Hatchet](https://daily.dev/posts/hatchet-alugo3xs3) · Hacker News · 2 upvotes · 0 comments
- [Durable Execution: Build reliable software in an unreliable world](https://daily.dev/posts/durable-execution-build-reliable-software-in-an-unreliable-world-2rmzujbwi) · The New Stack · 0 upvotes · 0 comments
- [Durable Execution means deciding what survives failure](https://daily.dev/posts/durable-execution-means-deciding-what-survives-failure-0aoe7igiu) · Temporal · 0 upvotes · 0 comments
- [How to Build AI Agents That Don’t Start Over When They Fail](https://daily.dev/posts/how-to-build-ai-agents-that-don-t-start-over-when-they-fail-hdtnqpnlp) · System Design Newsletter · 3 upvotes · 1 comments

---

Tags: [#inngest](https://daily.dev/tags/inngest), [#system-design](https://daily.dev/tags/system-design)

[View this post on daily.dev](https://daily.dev/posts/when-a-queue-isn-t-enough-fatefskys)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"When a queue isn't enough","url":"https://daily.dev/posts/when-a-queue-isn-t-enough-fatefskys","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/when-a-queue-isn-t-enough-fatefskys"},"datePublished":"2026-09-13T19:57:16.240Z","dateModified":"2026-11-01T18:46:17.856Z","description":"Queues and durable execution solve related but distinct problems: queues guarantee delivery of a job to a worker, while durable execution platforms like...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ed85bdf46c01572f32eccc5afd98de03?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ed85bdf46c01572f32eccc5afd98de03?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Inngest Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Inngest Blog","logo":"https://media.daily.dev/image/upload/s--ieZKUa5y--/c_limit,w_256/f_auto,q_auto/v1789329423/logos/inngest?_a=BAMAMicg0","url":"https://daily.dev/sources/inngest"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/when-a-queue-isn-t-enough-fatefskys","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"inngest,system-design","timeRequired":"PT7M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Inngest Blog","item":"https://daily.dev/sources/inngest"},{"@type":"ListItem","position":3,"name":"When a queue isn't enough"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/when-a-queue-isn-t-enough-fatefskys#faq","mainEntity":[{"@type":"Question","name":"When should I use a queue like BullMQ instead of a durable execution platform?","acceptedAnswer":{"@type":"Answer","text":"Use a queue alone when the work is atomic, independently retryable, and describable as a single verb like send, process, sync, or generate. It must restart cleanly from scratch, meaning retrying the whole operation is always safe. Examples include sending a transactional email, processing an uploaded file, syncing a record to a third-party API, or running a nightly report. daily.dev surfaces backend architecture discussions for teams deciding between queues and durable execution."}},{"@type":"Question","name":"How do queuing platforms differ from durable execution platforms like Temporal or Inngest?","acceptedAnswer":{"@type":"Answer","text":"Queuing platforms such as BullMQ, Celery, and Sidekiq guarantee delivery of a job to a worker but leave what happens inside the job, and recovery from failure, up to you. Durable execution platforms like Temporal and Inngest guarantee completion by persisting execution state as work progresses, so a crashed process resumes exactly where it stopped instead of restarting. Temporal uses event sourcing and history replay while Inngest uses step-level checkpointing. daily.dev collects comparisons like this for engineers evaluating background job infrastructure."}},{"@type":"Question","name":"How do you avoid double-charging a payment or re-running an LLM call when a multi-step job fails partway through?","acceptedAnswer":{"@type":"Answer","text":"With queue-only solutions, teams manually track which sub-operations completed by writing progress state to Redis or a database and checking it at the top of each operation before skipping already-run steps. Durable execution platforms avoid this manual bookkeeping entirely: each step retries independently and only failed steps re-run, so a completed LLM call or payment charge is never repeated on resume. daily.dev helps engineers building AI pipelines track patterns for handling costly, non-idempotent retries."}}]}
```

