Course outline for Celery

Pre-requisites for learning Celery

  • Knowledge of Message Queues and brokers
  • Working knowledge of Python

Lab Setup

  • Hardware Configuration
    • A minimum of 20GB of disk space and at least 4GB of RAM
    • Ensure that all participants have a properly functioning Internet connection
  • Software Configuration
    • Ubuntu 20.04/22.04 Desktop Edition/Server Edition

Duration

  • 2-5 days

Training Mode

Online training for Celery

We provide:

  • Instructor led live training
  • Self-paced learning with access to expert coaches
  • 24x7 access to cloud labs with end to end working examples

All jnaapti sessions are 100% hands-on. All our instructors are engineers by heart. Activities are derived from real-life problems faced by our expert faculty. Self-paced hands-on sessions are delivered via Virtual Coach.

Classroom training for Celery

Classroom sessions are conducted in client locations in:

  • Bengaluru
  • Chennai
  • Hyderabad
  • Mumbai
  • Delhi/Gurgaon/NCR

Note: Classroom training is for corporate clients only

Detailed Course Outline for Celery

Introduction to Celery

  • What is Celery?
  • Installing Celery
  • Introduction to Brokers

Basics of Celery

  • Tasks
  • TasksRequests
  • Logging
  • States
  • Fault Tolerance
  • Workers
  • Periodic Tasks

Workers in Celery

  • Starting a worker
  • Process Signals
  • Concurrency
  • Stopping a worker
  • Queues
  • Remote control

Canvas in celery

  • Signatures
    • Partials
    • Immutability
    • Callbacks
  • Primitives
    • Chains
    • Groups
    • Chords
    • Map and Starmap
    • Chunks

Daemonization in Celery

  • Celeryd
  • celerybeat
  • systemd

Routing in Celery

  • Automatic
  • Special Routing in Celery
  • AMQP Primer
  • Routing Tasks

Optimizations in Celery

  • Broker Connection Pools
  • Transient Queues
  • Prefork pool prefetch settings

Testing with Celery

  • Tasks and unit tests
  • Fixtures

Debugging Tasks in Celery

  • Using pdb
  • Enabling the break-point signal

Extensions and Bootstrap

  • Blueprints in Celery
  • Consumers in Celery

Use cases for Celery

  • Using Celery with Django