logoalt Hacker News

veber-alextoday at 11:01 AM1 replyview on HN

You can easily limit the number of blocking threads tokio can spawn: https://docs.rs/tokio/latest/tokio/runtime/struct.Builder.ht...


Replies

tcfhgjtoday at 11:17 AM

Might not be a good option though if you also spawn a bunch of blocking io tasks, which benefit from a large number of threads.

show 1 reply