Get Advice Icon

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

NSQ

143
356
+ 1
148
Apache RocketMQ

48
200
+ 1
8
Add tool

NSQ vs Apache RocketMQ: What are the differences?

NSQ: 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; Apache RocketMQ: Open source distributed messaging and streaming data platform. Apache RocketMQ is a distributed messaging and streaming platform with low latency, high performance and reliability, trillion-level capacity and flexible scalability.

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

NSQ and Apache RocketMQ are both open source tools. NSQ with 15.6K GitHub stars and 2.03K forks on GitHub appears to be more popular than Apache RocketMQ with 8.25K GitHub stars and 4.23K GitHub forks.

Advice on NSQ and Apache RocketMQ
Pramod Nikam
Co Founder at Usability Designs · | 2 upvotes · 556.7K 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 · 554.2K 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
Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of NSQ
Pros of Apache RocketMQ
  • 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
  • 2
    Million-level message accumulation capacity in a single
  • 2
    Support tracing message and transactional message
  • 1
    BigData Friendly
  • 1
    High throughput messaging
  • 1
    Feature-rich administrative dashboard for configuration
  • 1
    Low latency

Sign up to add or upvote prosMake informed product decisions

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

    Sign up to add or upvote consMake informed product decisions

    286
    17
    58
    3
    94

    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.

    What is Apache RocketMQ?

    Apache RocketMQ is a distributed messaging and streaming platform with low latency, high performance and reliability, trillion-level capacity and flexible scalability.

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

    What companies use NSQ?
    What companies use Apache RocketMQ?
    Manage your open source components, licenses, and vulnerabilities
    Learn More

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

    What tools integrate with NSQ?
    What tools integrate with Apache RocketMQ?
    What are some alternatives to NSQ and Apache RocketMQ?
    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.
    Redis
    Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. Redis provides data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes, and streams.
    NATS
    Unlike traditional enterprise messaging systems, NATS has an always-on dial tone that does whatever it takes to remain available. This forms a great base for building modern, reliable, and scalable cloud and distributed systems.
    gRPC
    gRPC is a modern open source high performance RPC framework that can run in any environment. It can efficiently connect services in and across data centers with pluggable support for load balancing, tracing, health checking...
    See all alternatives