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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Power-of-2-Choices in Practice

43 点作者 i0exception超过 4 年前

3 条评论

jeffbee超过 4 年前
"It introduces two extra round trips" is an implementation flaw/detail, not an aspect of this strategy. There is no reason that servers cannot periodically advertise their load measures to clients, or staple current load reports to query responses, which the client can cache and use for a period of time.
评论 #26187017 未加载
vijayjayaram超过 4 年前
I'm the author of this post, happy to answer any questions!
评论 #26183985 未加载
评论 #26184376 未加载
kristianp超过 4 年前
The name &quot;power of two&quot; seems to misrepresent the algorithm to me. Shouldn&#x27;t it be called &quot;least of random 2&quot;?<p>What&#x27;s the history behind the name?
评论 #26187434 未加载