3min chapter

Software Engineering Radio - the podcast for professional software developers cover image

Episode 502: Omer Katz on Distributed Task Queues Using Celery

Software Engineering Radio - the podcast for professional software developers

CHAPTER

Modeling the Life Cycle of an Actor Using a State Machine

The basic definition of an actor has a state machine with a life cycle in it, just a batteries included. So you can model the entire life cycle of the worker using the state machine. Now on top of that, we add two important concepts, the concepts of actor tasks and resources. Actor tasks are tasks that extend the actor's state machine. You can only run one task at a time. In addition to that, i've managed to create an api, but manager's resources, which are contex managers,. It will be apomatically cleaned when the actal goes down.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode