TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

15 pointsby mpcabout 10 years ago

1 comment

orthecreedenceabout 10 years ago
&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 未加载