TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

.NET 7 gRPC|HTTP/2 is ~2x faster than golang's

35 点作者 sachinjoseph大约 3 年前

2 条评论

akshayshah大约 3 年前
This is great! Having widely-deployed HTTP servers compete on performance is a nice win for the rest of us :)<p>I wonder whether they&#x27;re also queueing for reads from the TCP connection? At least per their public comms, Facebook uses an interesting combination of CoDel and adaptive LIFO processing [0]: under load, they preferentially serve queued requests in last-in, first-out order to prioritize users who are likely still waiting for the response (vs those who gave up b&#x2F;c the service is slow). It&#x27;d be amazing to have a widely-available webserver expose similar control knobs.<p>Anyhow, kudos to the .NET team!<p>[0]: <a href="https:&#x2F;&#x2F;queue.acm.org&#x2F;detail.cfm?id=2839461" rel="nofollow">https:&#x2F;&#x2F;queue.acm.org&#x2F;detail.cfm?id=2839461</a>
cebert大约 3 年前
It’s interesting how impactful switching from a rudimentary lock to a thread-safe queue was.