Celery and Redis with Django: Background Tasks and Distributed Processing (English Edition) ler

pdf Celery and Redis with Django: Background Tasks and Distributed Processing (English Edition)

por

Escolha um formato:

Leia uma amostra

Escolha um formato:

zip ler
rar ler
pdf ler
epub ler
txt ler
djvu ler

Descrição do livro

Move the slow work out of the request. Build a background processing layer you can actually trust in production.

Every Django application hits the same wall: a user uploads a huge spreadsheet and the request hangs, a campaign tries to send 200,000 emails inside one HTTP cycle, a nightly report times out before it finishes. The answer is not to optimize the slow code—it is to move that work out of the request and into the background, reliably, at scale, and with full visibility.

Celery and Redis with Django is a hands-on, production-focused guide to doing exactly that. Written for intermediate Django developers, it builds your understanding from first principles—no prior experience with Celery, Redis, or distributed systems required—and carries you all the way to operating a system you can deploy with confidence.

Across 21 focused chapters, you will learn how to:

  • Understand Celery's architecture and how Redis works as a message broker and result store
  • Configure Celery with Django the right way, with safe enqueueing and durable settings
  • Master the task lifecycle, periodic tasks, and Celery Beat scheduling
  • Build bulletproof reliability with retries, backoff, jitter, idempotency, and dead-lettering
  • Compose complex workflows using Canvas—groups, chains, and chords
  • Monitor everything with the four vital signs and the Flower dashboard
  • Ship real features: email queues, report generation, and multi-channel notifications
  • Scale workers, tune performance, deploy with Docker, and run a production-grade operation

Every chapter follows a consistent, practical shape: the problem being solved, complete and runnable code, sequence diagrams that make the runtime behavior concrete, and closing sections on performance, common mistakes, and battle-tested best practices.

This is not a collection of toy examples that fall apart on deploy. It is the conceptual grounding and operational discipline that separate a system that merely works in a demo from one that fails gracefully, recovers automatically, and scales when it matters.

Code targets Python 3.11+, Django 4.2+/5.x, Celery 5.3+, and Redis 7.x.

Stop making your users wait. Start building background processing that just works.

Número de páginas :282
Encadernação Celery and Redis with Django: Background Tasks and Distributed Processing (English Edition):Kindle
Livros recentes
Livros relacionados