-
tokio
A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
-
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.
Now, that said, this problem was much worse in the past (see this issue), where using join_all would lead to a quadratic number of calls to poll. Today, it is only a constant factor slower than the for loop, but the constant is rather large. It uses FuturesUnordered internally, which has a rather large amount of overhead because it stores all of the futures in a linked list, using a separate allocation for each JoinHandle.
Done.