diesel-async: An async version of diesel

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

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

    Diesel async connection implementation

  • Weiznich (the maintainer of Diesel) has created an experimental async version of the diesel Connection and RunQueryDsl traits, which should help with ease-of-use for Diesel within async contexts. It is not yet published on crates, but you can find it here: https://github.com/weiznich/diesel_async

  • diesel

    A safe, extensible ORM and Query Builder for Rust

  • Any help finishing the next diesel release is welcome. The remaining main blocker is cleaning up the documentation. There is this WIP-PR. Feel free to add comments, input or other improvements there.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • crates.io

    The Rust package registry

  • At my work we are experiencing traffic in the orders of ~5 million posts per day, so that is definitely less than crates.io, but they are not guaranteed to be spread evenly through the day. Therefore our database servers are quite beefy and the query may be quite long running, which means that we need to keep at a thread open per query that is running at a given moment in time (which may be over 200). That makes the Rust service use quite a bit of RAM, whereas it is not doing a lot of CPU work (JSON deserialization and then handing it off to the database). I think we could get away with a factor 10 fewer threads if it were async, so that would be nice :)

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