A Look on Python Web Performance at the end of 2022

This page summarizes the projects mentioned and recommended in the original post on dev.to

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • japronto

    Screaming-fast Python 3.5+ HTTP toolkit integrated with pipelining HTTP server based on uvloop and picohttpparser.

    The source code from the project resides in the github, with more than 8.6k stars and 596 forks is a very popular github, but no new releases are made since 2018, looks pure much not maintained anymore, no PR's are accepted no Issues are closed, still without windows or macOS Silicon, or PyPy3 support. Japronto it self uses uvloop with more than 9k stars and 521 forks and different from japronto is seems to be well maintained.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • uvloop

    Ultra fast asyncio event loop.

    The source code from the project resides in the github, with more than 8.6k stars and 596 forks is a very popular github, but no new releases are made since 2018, looks pure much not maintained anymore, no PR's are accepted no Issues are closed, still without windows or macOS Silicon, or PyPy3 support. Japronto it self uses uvloop with more than 9k stars and 521 forks and different from japronto is seems to be well maintained.

  • sanic

    Accelerate your web app development | Build fast. Run fast.

    Sanic is very very popular with 16.6k stars, 1.5k forks, opencollective sponsors and a very active github. Falcon is more popular than japronto with 8.9k stars, 898 forks, opencollective sponsors and a very active github too. Despite Japronto been keeped as first place by TechEmPower, Falcon is a way better solution in general with performance similar to fastify an very fast node.js framework that hits 575k requests per second in this benchmark.

  • falcon

    The no-magic web data plane API and microservices framework for Python developers, with a focus on reliability, correctness, and performance at scale.

    Sanic is very very popular with 16.6k stars, 1.5k forks, opencollective sponsors and a very active github. Falcon is more popular than japronto with 8.9k stars, 898 forks, opencollective sponsors and a very active github too. Despite Japronto been keeped as first place by TechEmPower, Falcon is a way better solution in general with performance similar to fastify an very fast node.js framework that hits 575k requests per second in this benchmark.

  • fastify

    Fast and low overhead web framework, for Node.js

    Sanic is very very popular with 16.6k stars, 1.5k forks, opencollective sponsors and a very active github. Falcon is more popular than japronto with 8.9k stars, 898 forks, opencollective sponsors and a very active github too. Despite Japronto been keeped as first place by TechEmPower, Falcon is a way better solution in general with performance similar to fastify an very fast node.js framework that hits 575k requests per second in this benchmark.

  • vibora

    Discontinued Fast, asynchronous and elegant Python web framework.

    After year of japronto dominance as the firsy place of TechEmPower PlaintText for Python, a new library called vibora appears... and it's another project without any updates since 2019. Ok let's filter vibora and japronto and go for the next one that is active, a new library called socketify.py and also another new library called robyn arrives on the millions req/s in the live results.

  • hpy

    HPy: a better API for Python

    It also show that PyPy3 will not magically boost your performance, you need to integrate in a manner that PyPy3 can optimize and delivery CPU performance, with a more complex example maybe it can help more. But why socketify is so much faster using PyPy3? The answer is CFFI, socketify did not use Cython for integration and cannot delivery the full performance on Python3, this will be solved with HPy.

  • socketify.py

    Bringing Http/Https and WebSockets High Performance servers for PyPy3 and Python3

    After year of japronto dominance as the firsy place of TechEmPower PlaintText for Python, a new library called vibora appears... and it's another project without any updates since 2019. Ok let's filter vibora and japronto and go for the next one that is active, a new library called socketify.py and also another new library called robyn arrives on the millions req/s in the live results.

  • Robyn

    Robyn is a Super Fast Async Python Web Framework with a Rust runtime.

    After year of japronto dominance as the firsy place of TechEmPower PlaintText for Python, a new library called vibora appears... and it's another project without any updates since 2019. Ok let's filter vibora and japronto and go for the next one that is active, a new library called socketify.py and also another new library called robyn arrives on the millions req/s in the live results.

  • oha

    Ohayou(おはよう), HTTP load generator, inspired by rakyll/hey with tui animation.

    I pick uvicorn, falcon and robyn for comparison using oha using 40 concurrent requests for 5s, running 1 time for warmup and getting an average of 3 runs, just sending back an "Hello, World!" message.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Ask HN: What is your go-to stack for the web?

    5 projects | news.ycombinator.com | 9 Feb 2024
  • An Introduction to ⚡FastAPI

    5 projects | dev.to | 17 Oct 2023
  • Comparing the Top 12 Best Python Web Frameworks for Developers

    7 projects | dev.to | 23 Sep 2024
  • Starlette: The little ASGI framework that shines

    1 project | news.ycombinator.com | 4 Aug 2024
  • A Beginner’s Guide to Django Web Framework: Django from Novice to Expert

    2 projects | dev.to | 28 Jul 2024