3 ms·
You should look at the http server benchmarks before writing this. Hint: tokio based web servers are the fastest.
by xiphias2 7y ago
You should look at the http server benchmarks before writing this.
Hint: tokio based web servers are the fastest.
- Arnavion 7y agoAlso worth noting that the 10x improvement is for tokio's own benchmarks, and even there only in one of the four. The hyper benchmark saw "only" a 34% improvement.
- ncmncm 7y agoGetting downvoted for asking a serious question tells me all I needed to know.
- xiphias2 7y agoI wasn't downviting you, but I'm sure it was the first part of your comment with unchecked facts, not your question that got you downvoted.
- ncmncm 7y agoThere were no unchecked facts in the original post. It is a fact that I have got 100x speedups, and it is my personal experience that 10x speedups rarely come close to exhausting the opportunities. It is a fact that I did not notice any reference in the article to GCD or the techniques that have made it a success.
- ncmncm 7y agoClearly the facts are not the problem. My guess would be that Rust fans are unusually thin-skinned. Let us see... In the meantime, it would not hurt even Rust fans to learn more about how Grand Central Dispatch works.
- housel 7y agoYou might suggest specific GCD mechanisms that might be usefully adopted by tokio.