Summary
Twisted is one of the earliest frameworks for developing asynchronous applications in Python and it has yet to fulfill its original purpose. It can be used to build network servers that integrate a multitude of protocols, increase the performance of your I/O bound applications, serve as the full web stack for your WSGI projects, and anything else that needs a battle tested and performant foundation. In this episode long time maintainer Moshe Zadka discusses the history of Twisted, how it has evolved over the years, the transition to Python 3, some of its myriad use cases, and where it is headed in the future. Try it out today and then send some thanks to all of the people who have dedicated their time to building it.
Preface
- Hello and welcome to Podcast.__init__, the podcast about Python and the people who make it great.
- When you’re ready to launch your next app you’ll need somewhere to deploy it, so check out Linode. With private networking, shared block storage, node balancers, and a 200Gbit network, all controlled by a brand new API you’ve got everything you need to scale up. Go to podcastinit.com/linode to get a $20 credit and launch a new server in under a minute.
- To get worry-free releases download GoCD, the open source continous delivery server built by Thoughworks. You can use their pipeline modeling and value stream map to build, control and monitor every step from commit to deployment in one place. And with their new Kubernetes integration it’s even easier to deploy and scale your build agents. Go to podcastinit.com/gocd to learn more about their professional support services and enterprise add-ons.
- Visit the site to subscribe to the show, sign up for the newsletter, and read the show notes. And if you have any questions, comments, or suggestions I would love to hear them. You can reach me on Twitter at @Podcast__init__ or email [email protected])
- To help other people find the show please leave a review on iTunes, or Google Play Music, tell your friends and co-workers, and share it on social media.
- Join the community in the new Zulip chat workspace at podcastinit.com/chat
- Your host as usual is Tobias Macey and today I’m interviewing Moshe Zadka about Twisted, the original multi-function tool for asynchronous operations and network protocols in Python
Interview
- Introductions
- How did you get introduced to Python?
- For anyone who isn’t familiar with Twisted can you share a brief overview of what it is?
- What was the original motivation for creating it?
- How did you get involved with the project and what is your current role in the team?
- How can people learn to use Twisted?
- What are some of the common difficulties that new users encounter?
- What did you learn working on Twisted?
- Who uses Twisted?
- When is Twisted the wrong choice?
- What are some examples of systems that aren’t using Twisted but should be?
- What are some of the ways that Twisted has evolved and changed over the years?
- What are some of the ways people can support Twisted?
- What are some of the plans for the future of Twisted?
Keep In Touch
- Moshe Zadka
- Twisted
Picks
- Tobias
- Moshe
Links
- Twisted
- Glyph Lefkowitz
- IRC
- async/await
- Pyvideo
- PyCon 2017 Tutorial
- asyncio
- GTK
- SNMP
- Gunicorn
- uWSGI
- WSGI
- Nginx
- Supervisor
- asynchat
- asyncore
- Ncolony
- The Ultimate Quality Development System
- Unicode prefix
- 2to3
- Six
- Unit Tests
- Automat
- TLA+
- Sans IO
- Tubes
- Hyper
- H2
- H11
- Apple Calendar Server Github
- Duo Security using Cyclone
- Matrix — Used by French government
- AIOHTTP
The intro and outro music is from Requiem for a Fish The Freak Fandango Orchestra / CC BY-SA