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.

Introducing Disque [video]

99 pointsby sylvinusalmost 10 years ago

12 comments

antirezalmost 10 years ago
$ .&#x2F;antirez --voice &quot;godfather&quot; --talk<p>(I hope is understandable at least...)
评论 #9819315 未加载
评论 #9818739 未加载
评论 #9821127 未加载
tempVariablealmost 10 years ago
Thank you for providing yet another project to the open source community Salvatore.
评论 #9820233 未加载
matthewmacleodalmost 10 years ago
I&#x27;m pretty excited – I&#x27;ve spent a couple of weeks on and off trying to build a useful reliable job queue system on top of Redis, but it&#x27;s not really working as simply as I&#x27;d like.<p>Disque seems to offer the features I am interested in along with the relatively simple semantics of Redis. Looking forward to the API being settled a bit so I can play with it.
yodonalmost 10 years ago
For anyone curious, Disque is a synchronously replicated in-memory message broker&#x2F;job queue that was designed to capture the essence of the &quot;Redis as a jobs queue&quot; use case.
arturhooalmost 10 years ago
Hi Antirez, always nice to use and see work from a good professional and outstanding community member. Whenever I saw people using Redis as a queue server, it was mainly for two reasons: 1) they were already using Redis and it had the right primitives, 2) it was dead simple to setup and use (compared to rabbitmq, for example).<p>One guy that I think is often overlooked is beanstalkd (<a href="https:&#x2F;&#x2F;github.com&#x2F;kr&#x2F;beanstalkd" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;kr&#x2F;beanstalkd</a>), especially with regards to 2). Have you ever taken a look at the project and if so, how do you think it compares to your vision for Disque?
评论 #9824173 未加载
yazaddaruvalaalmost 10 years ago
antirez as you mentioned both projects (Redis, Disque) are based on the same &quot;framework&quot; (skeleton).<p>Do you think because of their different guarantees that shared code will diverge?<p>Do you think that base layer will have to be kept in sync? (bug fixes, improvements)<p>I guess I&#x27;m asking, if at all, at what point would you pull that skeleton out into a separate repo and share it across Redis and Disque?
评论 #9820228 未加载
shockzzzalmost 10 years ago
I like Salvatore.
评论 #9819242 未加载
bluecmdalmost 10 years ago
I find it interesting that the article claims eventual consistency, but also best effort ordering. The consistency in a queue is surely made of two parts: count and order. To not have duplicates is nice, but if ordering is not guaranteed - is this really a queue? Seems like it&#x27;s a Something In Something Out, or &quot;a pile&quot; or something. Again, curious about what the evental consistency guarantee is referring to.<p>Not saying it cannot be useful - for work distribution it will surely work - but it needs to be considered for your usecase that you will need to be able to process messages in an unlimited unordering. Process a delete action before a create for example.
评论 #9824162 未加载
mattkreaalmost 10 years ago
As someone who has to maintain a RabbitMQ cluster.. I cannot wait to be able to use this reliabily.
alphadevxalmost 10 years ago
How does this compare to Resque (I&#x27;ve used that in production and like it a lot)?
评论 #9819491 未加载
nodesocketalmost 10 years ago
Does Disque support recurring jobs, like queue this task, and run it once every 4 hours. I know Antirez mentioned there is a delay property in the video.<p>Also will there be support for absolute scheduling like, run once at 4:30:00am today.
评论 #9821430 未加载
评论 #9820850 未加载
guiomiealmost 10 years ago
Looks interesting. But why would I use this instead of RabbitMQ ? (I didn&#x27;t watch the video, but I did check the github repo)
评论 #9819453 未加载