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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Dynamiq – A simple implementation of a queue on top of Riak 2.0

15 点作者 mpc大约 10 年前

1 comment

orthecreedence大约 10 年前
&gt; You should account for this in your design by either managing your own de-dupe solution (such as using Memcache to hold the keys you&#x27;ve seen from a given queue, expiring with the visibility timeout on the queue) or design a system which self-defends against duplicate messages.<p>At that point, why not just use beanstalkd or redis? You&#x27;re already centralizing part of your queue elsewhere, and the point of Riak is decentralization.<p>However, if you <i>can</i> tolerate duplicate messages, then this seems like a cool system. I didn&#x27;t get from the README how it actually orders the jobs&#x2F;messages though. I get it uses an index range scan, but on what values? Is it an ID, and how does the client generate these?
评论 #9535962 未加载