Need advice about which tool to choose?Ask the StackShare community!

Disque

11
25
+ 1
0
NSQ

141
353
+ 1
148
Add tool

Disque vs NSQ: What are the differences?

Developers describe Disque as "In-memory, distributed job queue". Disque is an ongoing experiment to build a distributed, in-memory, message broker. Its goal is to capture the essence of the "Redis as a jobs queue" use case, which is usually implemented using blocking list operations, and move it into an ad-hoc, self-contained, scalable, and fault tolerant design, with simple to understand properties and guarantees, but still resembling Redis in terms of simplicity, performance, and implementation as a C non-blocking networked server. On the other hand, NSQ is detailed as "A realtime distributed messaging platform". NSQ is a realtime distributed messaging platform designed to operate at scale, handling billions of messages per day. It promotes distributed and decentralized topologies without single points of failure, enabling fault tolerance and high availability coupled with a reliable message delivery guarantee. See features & guarantees.

Disque and NSQ can be primarily classified as "Message Queue" tools.

Disque and NSQ are both open source tools. NSQ with 15.5K GitHub stars and 2.04K forks on GitHub appears to be more popular than Disque with 7.35K GitHub stars and 516 GitHub forks.

Advice on Disque and NSQ
Pramod Nikam
Co Founder at Usability Designs · | 2 upvotes · 525.3K views
Needs advice
on
Apache ThriftApache ThriftKafkaKafka
and
NSQNSQ

I am looking into IoT World Solution where we have MQTT Broker. This MQTT Broker Sits in one of the Data Center. We are doing a lot of Alert and Alarm related processing on that Data, Currently, we are looking into Solution which can do distributed persistence of log/alert primarily on remote Disk.

Our primary need is to use lightweight where operational complexity and maintenance costs can be significantly reduced. We want to do it on-premise so we are not considering cloud solutions.

We looked into the following alternatives:

Apache Kafka - Great choice but operation and maintenance wise very complex. Rabbit MQ - High availability is the issue, Apache Pulsar - Operational Complexity. NATS - Absence of persistence. Akka Streams - Big learning curve and operational streams.

So we are looking into a lightweight library that can do distributed persistence preferably with publisher and subscriber model. Preferable on JVM stack.

See more
Replies (1)
Naresh Kancharla
Staff Engineer at Nutanix · | 4 upvotes · 522.8K views
Recommends
on
KafkaKafka

Kafka is best fit here. Below are the advantages with Kafka ACLs (Security), Schema (protobuf), Scale, Consumer driven and No single point of failure.

Operational complexity is manageable with open source monitoring tools.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Disque
Pros of NSQ
    Be the first to leave a pro
    • 29
      It's in golang
    • 20
      Distributed
    • 20
      Lightweight
    • 18
      Easy setup
    • 17
      High throughput
    • 11
      Publish-Subscribe
    • 8
      Scalable
    • 8
      Save data if no subscribers are found
    • 6
      Open source
    • 5
      Temporarily kept on disk
    • 2
      Simple-to use
    • 1
      Free
    • 1
      Topics and channels concept
    • 1
      Load balanced
    • 1
      Primarily in-memory

    Sign up to add or upvote prosMake informed product decisions

    Cons of Disque
    Cons of NSQ
      Be the first to leave a con
      • 1
        Long term persistence
      • 1
        Get NSQ behavior out of Kafka but not inverse
      • 1
        HA

      Sign up to add or upvote consMake informed product decisions

      - No public GitHub repository available -

      What is Disque?

      Disque is an ongoing experiment to build a distributed, in-memory, message broker. Its goal is to capture the essence of the "Redis as a jobs queue" use case, which is usually implemented using blocking list operations, and move it into an ad-hoc, self-contained, scalable, and fault tolerant design, with simple to understand properties and guarantees, but still resembling Redis in terms of simplicity, performance, and implementation as a C non-blocking networked server.

      What is NSQ?

      NSQ is a realtime distributed messaging platform designed to operate at scale, handling billions of messages per day. It promotes distributed and decentralized topologies without single points of failure, enabling fault tolerance and high availability coupled with a reliable message delivery guarantee. See features & guarantees.

      Need advice about which tool to choose?Ask the StackShare community!

      What companies use Disque?
      What companies use NSQ?
      See which teams inside your own company are using Disque or NSQ.
      Sign up for StackShare EnterpriseLearn More

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with Disque?
      What tools integrate with NSQ?
        No integrations found
        What are some alternatives to Disque and NSQ?
        RabbitMQ
        RabbitMQ gives your applications a common platform to send and receive messages, and your messages a safe place to live until received.
        Kafka
        Kafka is a distributed, partitioned, replicated commit log service. It provides the functionality of a messaging system, but with a unique design.
        JavaScript
        JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
        Git
        Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
        GitHub
        GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Over three million people use GitHub to build amazing things together.
        See all alternatives