Does an ASGI(Asynchronous Server Gateway Interface) provide any benefit in Rust?

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • Robyn

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

    I made a post here last week to showcase an HTTP framework that I was writing in Rust. It is called Robyn and and it is a python web framework.

  • uvicorn

    An ASGI web server, for Python. 🦄

    It also enables easily changing part of the server's stack. Typically in python you'll use one module to write your server (e.g. fastapi) then another to actually serve it (e.g. uvicorn). If you decide to change either of those out, you can, without effecting the other.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • strawberry

    A GraphQL library for Python that leverages type annotations 🍓

    Say I've written a REST api using e.g. FastAPI and want to add GraphQL support with e.g. Strawberry. Without ASGI, I'd gave to run two seperate server processes, plus nginx/caddy/whatever, deal with the routing rules in multiple places, etc.

  • fastapi

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

    Say I've written a REST api using e.g. FastAPI and want to add GraphQL support with e.g. Strawberry. Without ASGI, I'd gave to run two seperate server processes, plus nginx/caddy/whatever, deal with the routing rules in multiple places, etc.

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