The problem with Flask async views and async globals

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

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
Sevalla - Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com
featured
  1. asgiref

    ASGI specification and utilities

    If you really love Flask and want to continue using it you can also use the asgiref package provides an easy wrapper called WsgiToAsgi that converts a WSGI application to an ASGI application.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. uvicorn

    An ASGI web server, for Python. 🦄

    Something to keep in mind when developing an ASGI application is you need an ASGI-compatible server. Common choices include Uvicorn, Hypercorn, and Daphne. Another option is to use the Gunicorn with Uvicorn workers.

  4. quart

    An async Python micro framework for building web applications. (by pgjones)

    If you're looking for an experience that's very similar to Flask you can use Quart which is inspired by Flask. Quart even has a guide about how to migrate from a Flask application to using Quart! Flask's own documentation for async views actually recommends using Quart in some cases due to the performance hit from using a new event loop per request.

  5. fastapi

    FastAPI framework, high performance, easy to learn, fast to code, ready for production

    If you're looking to learn something new you can check out FastAPI which includes a bunch of builtin functionality for documenting APIs, strict model declarations, and data validation.

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

  • Setting up Fast API in IIS and run APIs in Python

    3 projects | dev.to | 27 May 2024
  • hypercorn VS tremolo - a user suggested alternative

    2 projects | 12 Jul 2024
  • uvicorn VS tremolo - a user suggested alternative

    2 projects | 11 Jul 2024
  • Tornado VS tremolo - a user suggested alternative

    2 projects | 11 Jul 2024
  • sanic VS tremolo - a user suggested alternative

    2 projects | 11 Jul 2024