Async Rust in Practice: Performance, Pitfalls, Profiling

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • tokio

    A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...

  • Tokio author here. Generally speaking, I recommend strongly against using FuturesUnordered unless you know all the pitfalls. We are working on an alternative utility that should hopefully avoid the issues described here and others: https://github.com/tokio-rs/tokio/pull/4335

  • futures-rs

    Zero-cost asynchronous programming in Rust

  • Here is the PR: https://github.com/rust-lang/futures-rs/pull/2551

    Yield = wake the `waker_ref`. Avoiding the yield would be clone().wake().

    That said, "poll immediately" isn't actually a thing nor was it ever a thing except in incorrect implementations.

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

    InfluxDB logo
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

  • I don't really understand how I'm supposed to use async

    2 projects | /r/rust | 7 Jun 2022
  • The More You Gno: Gno.land Monthly Updates - 6

    8 projects | /r/Gnoland | 30 Nov 2023
  • What's the canonical way of doing it in rust?

    1 project | /r/rust | 16 Oct 2023
  • netcrab: a networking tool

    4 projects | dev.to | 14 Oct 2023
  • Thread-per-Core

    3 projects | news.ycombinator.com | 6 Oct 2023