Robyn: A fast async Python web framework with a Rust runtime

Sanskar Jethi (~stealthanthrax)


0

Votes

Description:

Python web frameworks such as FastAPI, Flask, Quartz, Tornado, and Twisted are important for developing high-performance web applications and for their contributions to the web ecosystem. However, they may also present certain bottlenecks, either due to their synchronous nature or due to the usage of the Python runtime. These limitations can often arise from their reliance on *SGIs, which can limit the speed and performance of the web application. This is where Robyn comes in. Robyn aims to achieve near-native Rust throughput while still allowing developers to write code in Python. This means that developers can enjoy the benefits of high-performance web applications while still using the language they are comfortable with. In this talk, we will delve into Robyn and explore how it can improve web application performance. We will also discuss the development of Robyn and examine the evolution of a project from ideation to community support. We will examine the challenges and opportunities that arose during the development and how they were addressed.

With the effort put in at every development in the Web ecosystem to increase the runtime performance, we know that throughput efficiency is one of the top priority items. Inspired by the extensibility and ease of use of the Python Web ecosystem and the increased focus on performance, Robyn was born. Robyn is one of the fastest, if not the fastest Python web framework in the current Python web ecosystem. With a runtime written in Rust, Robyn tries to achieve near-native rust performance while still having the ease of writing Python code.

This talk will demonstrate the reasons why Robyn was created, the technical decisions behind Robyn, the increased performance by using the Rust runtime, how to use Robyn to develop web apps, and most importantly, how the community is helping Robyn grow! Finally, I will be sharing future plans of Robyn and would love to get feedback from the developers to see what they would like to see in it.

Prerequisites:

Some familiarity with Python web frameworks like django, flask, fastapi

Speaker Info:

I am the author of Robyn, the fastest Python web framework and Starfyre, a python web framework for making reactive frontend applications.

I am also currently working as a Software Engineer at Bloomberg, London

Speaker Links:

https://github.com/sansyrox/ https://www.linkedin.com/in/sanskar123/ https://sanskar.me/

Section: Python in Web and Applications
Type: Talk
Target Audience: Intermediate
Last Updated: