Software Alternatives & Reviews

NATS VS Redis

Compare NATS VS Redis and see what are their differences

NATS logo NATS

NATS.io is an open source messaging system for cloud native applications, IoT messaging, Edge, and microservices architectures.

Redis logo Redis

Redis is an open source in-memory data structure project implementing a distributed, in-memory key-value database with optional durability.
  • NATS Landing page
    Landing page //
    2023-01-05

NATS.io is a connective technology for distributed systems and is a perfect fit to connect devices, edge, cloud or hybrid deployments. True multi-tenancy makes NATS ideal for SaaS and self-healing and scaling technology allows for topology changes anytime with zero downtime.

  • Redis Landing page
    Landing page //
    2022-10-19

Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes with radius queries and streams. Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster.

NATS videos

The coolest OSS project you've never heard of: NATS Getting started!

Redis videos

What is Redis? | Why and When to use Redis? | Tech Primers

More videos:

  • Review - Improve your Redis developer experience with RedisInsight, Redis Labs
  • Review - Redis Labs "Why NoSQL is a Safe Bet"
  • Review - Redis Enterprise Overview with Yiftach Shoolman - Redis Labs
  • Review - Redis system design | Distributed cache System design
  • Review - What is Redis and What Does It Do?
  • Review - Redis Sorted Sets Explained

Category Popularity

0-100% (relative to NATS and Redis)
Developer Tools
100 100%
0% 0
Databases
0 0%
100% 100
Data Integration
100 100%
0% 0
NoSQL Databases
0 0%
100% 100

User comments

Share your experience with using NATS and Redis. For example, how are they different and which one is better?
Log in or Post with

Reviews

These are some of the external sources and on-site user reviews we've used to compare NATS and Redis

NATS Reviews

Best message queue for cloud-native apps
NATS is designed to be simple and easy to use, with a small footprint and low latency. It is often used in cloud-native environments to connect different components of a distributed system or to enable communication between microservices. NATS also supports message persistence, security, and clustering, making it a robust messaging system for building scalable and resilient...
Source: docs.vanus.ai
Are Free, Open-Source Message Queues Right For You?
One challenge of NATS is that it does not support reliable message queuing out of the box - messages can be lost if a client disconnects before it receives them. This can be mitigated by using NATS Streaming, a data streaming system powered by NATS, but it adds complexity.
Source: blog.iron.io
NATS vs RabbitMQ vs NSQ vs Kafka | Gcore
NATS is known for its high performance, low latency, and emphasis on simplicity after it was rewritten in Go. Its rewrite in Go makes NATS an ideal choice for demanding and real-time applications and has increased its throughput compared to its original Ruby implementation.
Source: gcore.com

Redis Reviews

Are Free, Open-Source Message Queues Right For You?
A notable challenge with Redis Streams is that it doesn't natively support distributed, horizontal scaling. Also, while Redis is famous for its speed and simplicity, managing and scaling a Redis installation may be complex for some users, particularly for persistent data workloads.
Source: blog.iron.io
Redis vs. KeyDB vs. Dragonfly vs. Skytable | Hacker News
1. Redis: I'll start with Redis which I'd like to call the "original" key/value store (after memcached) because it is the oldest and most widely used of all. Being a long-time follower of Redis, I do know it's single-threaded (and uses io-threads since 6.0) and hence it achieves lesser throughput than the other stores listed above which are multi-threaded, at least to some...
Memcached vs Redis - More Different Than You Would Expect
Remember when I wrote about how Redis was using malloc to assign memory? I lied. While Redis did use malloc at some point, these days Redis actually uses jemalloc. The reason for this is that jemalloc, while having lower peak performance has lower memory fragmentation helping to solve the framented memory issues that Redis experiences.
Top 15 Kafka Alternatives Popular In 2021
Redis is a known, open-source, in-memory data structure store that offers different data structures like lists, strings, hashes, sets, bitmaps, streams, geospatial indexes, etc. It is best utilized as a cache, memory broker, and cache. It has optional durability and inbuilt replication potential. It offers a great deal of availability through Redis Sentinel and Redis Cluster.
Comparing the new Redis6 multithreaded I/O to Elasticache & KeyDB
So there are 3 offerings by 3 companies, all compatible with eachother and based off open source Redis: Elasticache is offered as an optimized service offering of Redis; RedisLabs and Redis providing a core product and monetized offering, and KeyDB which remains a fast cutting edge (open source) superset of Redis. This blog looks specifically at performance, however there is...
Source: docs.keydb.dev

Social recommendations and mentions

Based on our record, Redis should be more popular than NATS. It has been mentiond 183 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

NATS mentions (63)

  • Implementing OTel Trace Context Propagation Through Message Brokers with Go
    Several message brokers, such as NATS and database queues, are not supported by OpenTelemetry (OTel) SDKs. This article will guide you on how to use context propagation explicitly with these message queues. - Source: dev.to / 22 days ago
  • NATS: First Impressions
    Https://nats.io/ (Tracker removed) > Connective Technology for Adaptive Edge & Distributed Systems > An Introduction to NATS - The first screencast I guess I don't need to know what it is. - Source: Hacker News / 24 days ago
  • Sequential and parallel execution of long-running shell commands
    Pueue dumps the state of the queue to the disk as JSON every time the state changes, so when you have a lot of queued jobs this results in considerable disk io. I actually changed it to compress the state file via zstd which helped quite a bit but then eventually just moved on to running NATS [1] locally. [1] https://nats.io/. - Source: Hacker News / about 1 month ago
  • Interview with Sebastian Holstein, Founder of Qaze
    During our interview, we referred to NATS quite a few times! If you want to learn more about it, Sebastian suggests this tutorial series. - Source: dev.to / about 1 month ago
  • Revolutionizing Real-Time Alerts with AI, NATs and Streamlit
    Imagine you have an AI-powered personal alerting chat assistant that interacts using up-to-date data. Whether it's a big move in the stock market that affects your investments, any significant change on your shared SharePoint documents, or discounts on Amazon you were waiting for, the application is designed to keep you informed and alert you about any significant changes based on the criteria you set in advance... - Source: dev.to / 2 months ago
View more

Redis mentions (183)

  • Redis is not "open core" (2021)
    The page 404s for me currently and it does not seem to be archived by the wayback machine either: https://web.archive.org/web/20240000000000*/https://redis.io/news/121. - Source: Hacker News / 16 days ago
  • Software Engineering Workflow
    Redis - real time data storage with different data structures in a cache. - Source: dev.to / 18 days ago
  • Redis License Changed
    Redis.io no longer mentions open source. They have still not changed meta description on their page. It still says it is open source ^^ view-source:https://redis.io/. - Source: Hacker News / about 1 month ago
  • Tutorial: Install Redis in Distro Linux: Pop!_OS
    Follow the steps below to install Redis:. - Source: dev.to / about 2 months ago
  • How to choose the right type of database
    Redis: An open-source, in-memory data structure store supporting various data types. It offers persistence, replication, and clustering, making it ideal for more complex caching requirements and session storage. - Source: dev.to / about 2 months ago
View more

What are some alternatives?

When comparing NATS and Redis, you can also consider the following products

Socket.io - Realtime application framework (Node.JS server)

MongoDB - MongoDB (from "humongous") is a scalable, high-performance NoSQL database.

Pusher - Pusher is a hosted API for quickly, easily and securely adding scalable realtime functionality via WebSockets to web and mobile apps.

ArangoDB - A distributed open-source database with a flexible data model for documents, graphs, and key-values.

Firebase - Firebase is a cloud service designed to power real-time, collaborative applications for mobile and web.

Apache Cassandra - The Apache Cassandra database is the right choice when you need scalability and high availability without compromising performance.