Monitor performance issues & errors in your code

Scaling Python and Jupyter with ZeroMQ

Episode #306, published Fri, Mar 5, 2021, recorded Thu, Feb 11, 2021

When we talk about scaling software threading and async get all the buzz. And while they are powerful, using asynchronous queues can often be much more effective. You might think this means creating a Celery server, maybe running RabbitMQ or Redis as well.

What if you wanted this async ability and many more message exchange patterns like pub/sub. But you wanted to do zero of that server work? Then you should check out ZeroMQ.

ZeroMQ is to queuing what Flask is to web apps. A powerful and simple framework for you to build just what you need. You're almost certain to learn some new networking patterns and capabilities in this episode with our guest Min Ragan-Kelley to discuss using ZeroMQ from Python as well as how ZeroMQ is central to the internals of Jupyter Notebooks.

Watch this episode on YouTube
Play on YouTube
Watch the live stream version

Links from the show

Min on Twitter: @minrk
Simula Lab:
Talk Python Binder episode:
The ZeroMQ Guide:
IPython for parallel computing:
Messaging in Jupyter:
DevWheel Package:

YouTube Live Stream:
PyCon Ticket Contest:
Episode transcripts:

--- Stay in touch with us ---
Subscribe to us on YouTube:
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy

Want to go deeper? Check out our courses

Min Ragan-Kelley
Min Ragan-Kelley
Min is a Senior Research Engineer and head of the department of Scientific Computing and Numerical Analysis at Simula Research Lab in Oslo, Norway. Min has been a core member of the widely used open source project now known as Jupyter since 2006.
Episode sponsored by
Ads served ethically
Talk Python's Mastodon Michael Kennedy's Mastodon