Stream Processing In Real Time And At Scale In Pure Python With Bytewax - Episode 370


Analysis of streaming data in real time has long been the domain of big data frameworks, predominantly written in Java. In order to take advantage of those capabilities from Python requires using client libraries that suffer from impedance mis-matches that make the work harder than necessary. Bytewax is a new open source platform for writing stream processing applications in pure Python that don’t have to be translated into foreign idioms. In this episode Bytewax founder Zander Matheson explains how the system works and how to get started with it today.

Select Star LogoDoes everyone in your team ask you which database table they should use? Or if you can help them with their SQL query? If so, check out Select Star! It’s an automated data discovery portal that can save you hours of time every week.

From analyzing your metadata, query logs, and dashboard activities, Select Star will automatically document your datasets. For every table in Select Star, you can find out where the data originated from, which dashboards are built on top of it, who’s using the data in the company, and how they’re using it, all the way down to the SQL queries. Best of all, it’s simple to set up, and easy for both engineering and operations teams to use.

With Select Star’s data catalog, a single source of truth in data is built in minutes, even across thousands of datasets.

Try it out for free at If you’re a Podcast.__init__ subscriber, we’ll double the length of your free trial and send you a swag package when you continue on a paid plan.

Do you want to try out some of the tools and applications that you heard about on Podcast.__init__? Do you have a side project that you want to share with the world? With Linode’s managed Kubernetes platform it’s now even easier to get started with the latest in cloud technologies. With the combined power of the leading container orchestrator and the speed and reliability of Linode’s object storage, node balancers, block storage, and dedicated CPU or GPU instances, you’ve got everything you need to scale up. Go to today and get a $100 credit to launch a new cluster, run a server, upload some data, or… And don’t forget to thank them for being a long time supporter of Podcast.__init__!

Shipyard is an orchestration platform that helps data teams build out solid data operations from the get-go by connecting data tools and streamlining data workflows. Shipyard offers low-code templates that are configured using a visual interface, replacing the need to write code to build workflows while enabling engineers to get their work into production faster. If a solution can’t be built with existing templates, engineers can always automate scripts in the language of their choice to bring any internal or external process into their workflows.

Observability and alerting are built into the Shipyard platform, ensuring that breakages are identified before being discovered downstream by business teams. With a high level of concurrency, scalability, and end-to-end encryption, Shipyard enables data teams to accomplish more without relying on other teams or worrying about infrastructure challenges, while also ensuring that business teams trust the data made available to them. Go to to get started automating powerful workflows with their free developer plan today!


  • Hello and welcome to Podcast.__init__, the podcast about Python’s role in data and science.
  • When you’re ready to launch your next app or want to try a project you hear about on the show, you’ll need somewhere to deploy it, so take a look at our friends over at Linode. With their managed Kubernetes platform it’s easy to get started with the next generation of deployment and scaling, powered by the battle tested Linode platform, including simple pricing, node balancers, 40Gbit networking, dedicated CPU and GPU instances, and worldwide data centers. And now you can launch a managed MySQL, Postgres, or Mongo database cluster in minutes to keep your critical data safe with automated backups and failover. Go to and get a $100 credit to try out a Kubernetes cluster of your own. And don’t forget to thank them for their continued support of this show!
  • The biggest challenge with modern data systems is understanding what data you have, where it is located, and who is using it. Select Star’s data discovery platform solves that out of the box, with a fully automated catalog that includes lineage from where the data originated, all the way to which dashboards rely on it and who is viewing them every day. Just connect it to your dbt, Snowflake, Tableau, Looker, or whatever you’re using and Select Star will set everything up in just a few hours. Go to today to double the length of your free trial and get a swag package when you convert to a paid plan.
  • Need to automate your Python code in the cloud? Want to avoid the hassle of setting up and maintaining infrastructure? Shipyard is the premier orchestration platform built to help you quickly launch, monitor, and share python workflows in a matter of minutes with 0 changes to your code. Shipyard provides powerful features like webhooks, error-handling, monitoring, automatic containerization, syncing with Github, and more. Plus, it comes with over 70 open-source, low-code templates to help you quickly build solutions with the tools you already use. Go to to get started automating with a free developer plan today!
  • Your host as usual is Tobias Macey and today I’m interviewing Zander Matheson about Bytewax, an open source Python framework for building highly scalable dataflows to process ANY data stream.


  • Introductions
  • How did you get introduced to Python?
  • Can you describe what Bytewax is and the story behind it?
  • Who are the target users for Bytewax?
  • What is the problem that you are trying to solve with Bytewax?
  • What are the alternative systems/architectures that you might replace with Bytewax?
  • Can you describe how Bytewax is implemented?
    • What are the benefits of Timely Dataflow as a core building block for a system like Bytewax?
    • How have the design and goals of the project changed/evolved since you first started working on it?
  • What are the axes available for scaling Bytewax execution?
  • How have you approached the design of the Bytewax API to make it accessible to a broader audience?
  • Can you describe what is involved in building a project with Bytewax?
    • What are some of the stream processing concepts that engineers are likely to run up against as they are experimenting and designing their code?
  • What is your motivation for providing the core technology of your business as an open source engine?
    • How are you approaching the balance of project governance and sustainability with opportunities for commercialization?
  • What are the most interesting, innovative, or unexpected ways that you have seen Bytewax used?
  • What are the most interesting, unexpected, or challenging lessons that you have learned while working on Bytewax?
  • When is Bytewax the wrong choice?
  • What do you have planned for the future of Bytewax?

Keep In Touch



The intro and outro music is from Requiem for a Fish The Freak Fandango Orchestra / CC BY-SA

Liked it? Take a second to support Podcast.__init__ on Patreon!