Async Django Views - let's look at them

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

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

    HTTP load generator, ApacheBench (ab) replacement (by rakyll)

    Also, to await on something means you're telling the interpreter to go do something else instead of blocking and do nothing while you wait for the database to return results. It does not mean "keep executing the function while you wait". Which implies that your second query will only be executed after the first one (unless you gather). While it looks like you're gaining nothing by using asyncio, the "something else" in "go do something else" may be to start serving another request, meaning you can serve more users at once. Try sending multiple requests at once and see how you perform. There are relatively simple benchmark tools like hey that allow you to do that.

  • asyncdjango

    Project showing Django's async capabilities

  • 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.

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