diesel-async: An async version of diesel

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

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
  • 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.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • crates.io

    Source code for crates.io

    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