Course Outline


About Celery

Pre-requisites

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

Duration

  • 2-5 days

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 16.04 Desktop Edition/Server Edition

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

The classroom training will be provided in Bangalore (Bengaluru), Chennai, Hyderabad or Mumbai and will be conducted in the client's premises. All the necessary hardware/software infrastructure must be provided by the client.