Ohh, there's a patch out for async-std that improves threadpool performance by up to 400% on certain workloads. It still needs reviewing, but those numbers sure are impressive!https://github.com/async-rs/async-std/pull/108 …
-
-
Replying to @yoshuawuyts
Wow, that sounds quite impressive. I was wondering: does async-std expose any handle/settings to tune/configure the thread pool?
1 reply 0 retweets 2 likes -
Replying to @algo_luca
It doesn't, and I don't think it should either at the moment. Instead of offloading configuration to end-users by adding more knobs, I think we should continue to make it so the pool can scale up/down based on the workload.
1 reply 0 retweets 1 like -
Replying to @yoshuawuyts
That makes total sense - I was mostly thinking of situations where you have different kind of workloads and concurrency mechanisms and you might want to constrain e.g. the number of threads async-std can use.
2 replies 0 retweets 1 like
Oh yeah I can see that. Though there are probably a lot of different restrictions folks might want to apply (fd, mem, cycles, network) and specialized tools such as containers already exist for those!
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.