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

Realm

279
441
+ 1
16
Redis

59.8K
44.6K
+ 1
3.9K
Add tool

Realm vs Redis: What are the differences?

Introduction

In the realm of database management systems, two popular choices that are often compared are Realm and Redis. These systems offer distinct features and functionalities that cater to different needs and use cases. Let's explore the key differences between Realm and Redis.

  1. Data Model: Realm is an object-oriented database that stores data as objects with properties and relationships, making it easier to work with data in an application. On the other hand, Redis is a key-value store that operates with simple data structures like strings, lists, sets, and hashes.

  2. Persistence: Realm offers built-in support for offline data synchronization, meaning data can be stored locally and then synced with a server when a connection is available. Redis, on the other hand, is an in-memory database that can optionally persist data to disk.

  3. Scalability: Redis is known for its high performance and scalability, making it a preferred choice for applications requiring fast read and write operations. Realm, on the other hand, may not be as performant as Redis in scenarios where massive scalability is required.

  4. Data Querying: Redis supports various data querying options through its powerful set of commands, making it suitable for scenarios that require complex data manipulation and analysis. Realm, on the other hand, may be more suitable for simpler data querying needs within the context of an application.

  5. Deployment: Redis is often used as a standalone server or as a cluster for high availability and scalability. Realm, on the other hand, is typically integrated within the application codebase, simplifying deployment but potentially limiting scalability options.

  6. Use Cases: Realm is commonly used in mobile and IoT applications where offline capabilities are vital, while Redis is often implemented in high-performance scenarios like caching, session management, real-time analytics, and message queues.

In Summary, Realm and Redis differ in their data models, persistence mechanisms, scalability, querying capabilities, deployment options, and target use cases.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Realm
Pros of Redis
  • 7
    Good
  • 3
    Elegant API
  • 3
    Cloud Syncing
  • 2
    React Native Support
  • 1
    Strong Adoption Growth
  • 886
    Performance
  • 542
    Super fast
  • 513
    Ease of use
  • 444
    In-memory cache
  • 324
    Advanced key-value cache
  • 194
    Open source
  • 182
    Easy to deploy
  • 164
    Stable
  • 155
    Free
  • 121
    Fast
  • 42
    High-Performance
  • 40
    High Availability
  • 35
    Data Structures
  • 32
    Very Scalable
  • 24
    Replication
  • 22
    Great community
  • 22
    Pub/Sub
  • 19
    "NoSQL" key-value data store
  • 16
    Hashes
  • 13
    Sets
  • 11
    Sorted Sets
  • 10
    NoSQL
  • 10
    Lists
  • 9
    Async replication
  • 9
    BSD licensed
  • 8
    Bitmaps
  • 8
    Integrates super easy with Sidekiq for Rails background
  • 7
    Keys with a limited time-to-live
  • 7
    Open Source
  • 6
    Lua scripting
  • 6
    Strings
  • 5
    Awesomeness for Free
  • 5
    Hyperloglogs
  • 4
    Transactions
  • 4
    Outstanding performance
  • 4
    Runs server side LUA
  • 4
    LRU eviction of keys
  • 4
    Feature Rich
  • 4
    Written in ANSI C
  • 4
    Networked
  • 3
    Data structure server
  • 3
    Performance & ease of use
  • 2
    Dont save data if no subscribers are found
  • 2
    Automatic failover
  • 2
    Easy to use
  • 2
    Temporarily kept on disk
  • 2
    Scalable
  • 2
    Existing Laravel Integration
  • 2
    Channels concept
  • 2
    Object [key/value] size each 500 MB
  • 2
    Simple

Sign up to add or upvote prosMake informed product decisions

Cons of Realm
Cons of Redis
  • 1
    No offline support for web till now
  • 15
    Cannot query objects directly
  • 3
    No secondary indexes for non-numeric data types
  • 1
    No WAL

Sign up to add or upvote consMake informed product decisions

What is Realm?

The Realm Mobile Platform is a next-generation data layer for applications. Realm is reactive, concurrent, and lightweight, allowing you to work with live, native objects.

What is 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.

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

Jobs that mention Realm and Redis as a desired skillset
LaunchDarkly
Oakland, California, United States
What companies use Realm?
What companies use Redis?
See which teams inside your own company are using Realm or Redis.
Sign up for StackShare EnterpriseLearn More

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

What tools integrate with Realm?
What tools integrate with Redis?

Sign up to get full access to all the tool integrationsMake informed product decisions

Blog Posts

Nov 20 2019 at 3:38AM

OneSignal

PostgreSQLRedisRuby+8
9
4627
Jun 6 2019 at 5:11PM

AppSignal

RedisRubyKafka+9
15
1634
GitHubDockerReact+17
40
36169
What are some alternatives to Realm and Redis?
Firebase
Firebase is a cloud service designed to power real-time, collaborative applications. Simply add the Firebase library to your application to gain access to a shared data structure; any changes you make to that data are automatically synchronized with the Firebase cloud and with other clients within milliseconds.
SQLite
SQLite is an embedded SQL database engine. Unlike most other SQL databases, SQLite does not have a separate server process. SQLite reads and writes directly to ordinary disk files. A complete SQL database with multiple tables, indices, triggers, and views, is contained in a single disk file.
Redux Persist
It is a library allowing to save the redux store in the local storage of your browser. It promises to retain the users’ redux-state which is an attractive proposition for most developers.
Realm React Native
Realm JavaScript enables you to efficiently write your app’s model layer in a safe, persisted and fast way. It’s designed to work with React Native and Node.js.
ObjectBox
It is for developers who look for performance and ease of use. We are committed to providing you with the easiest APIs for you to keep your code short and maintainable. No SQL under the hood-Simply faster. Unlike other databases, it has been built from the ground up using key-value storage instead of column storage. The resulting performance is 10x faster than the leading alternative, we welcome you to try it yourself. It is fast regardless of the amount of data or operating system you are using.
See all alternatives