In the video below, Iacopo Palletti, CTO at Nephilia, explains how to use Starlette (an ASGI Framework and toolkit) for building asynchronous microservices in Python.
Async (asynchronous) programming is not new, but it is a new kid on the block when we talk about Python core. This allowed developing a new universe of async-first or async-enabled libraries and frameworks that makes asyncchronous programming much more accessible for devs every day.
Writing an async microservice is a good way to get your hands dirty with async programming: we are going to see how to build it using Starlette and its ecosystem to show tecniques and pitfalls.Iacopo Spalletti
Watch the video below!
Also, you can check Iacopo’s presentation in PDF here. Tip: it includes all the code lines needed for Starlette.
Python is one of the most popular languages used by devs worldwide today. According to The PYPL PopularitY of Programming Language Index it is the first most used language with 28.11%, followed by Java with 17.35%.
However, asynchronous programming can be trickier when using this super popular language. In asynchronous programming, the orders are executed concurrently in the background, not in a linear (or one line at a time) way like in synchronous programming.
We hope the video above will help you get your python microservices up and running, and remember to check out many other useful videos by devs for devs on our video platform.
Recommended article: Top Trending Python Frameworks
VIDEOS BY DEVS FOR DEVS