Sadly, using nonblocking I/O and green threads *for blocking workloads* is a lot slower than just using blocking I/O in the first place.
-
-
Replying to @tjholowaychuk
@tjholowaychuk Plus when the operation finishes you have to punt the sleeping task awake, so more locks1 reply 0 retweets 0 likes
Replying to @tjholowaychuk
@tjholowaychuk It's just what we've observed in Rust with green threads talking to one async I/O task…can't say if it applies to all systems
8:45 PM - 20 Dec 2012
0 replies
0 retweets
0 likes
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.