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

Amazon DynamoDB

3.3K
2.7K
+ 1
195
RethinkDB

290
381
+ 1
307
Add tool

Amazon DynamoDB vs RethinkDB: What are the differences?

What is Amazon DynamoDB? Fully managed NoSQL database service. All data items are stored on Solid State Drives (SSDs), and are replicated across 3 Availability Zones for high availability and durability. With DynamoDB, you can offload the administrative burden of operating and scaling a highly available distributed database cluster, while paying a low price for only what you use.

What is RethinkDB? JSON. Scales to multiple machines with very little effort. Open source. RethinkDB is built to store JSON documents, and scale to multiple machines with very little effort. It has a pleasant query language that supports really useful queries like table joins and group by, and is easy to setup and learn.

Amazon DynamoDB belongs to "NoSQL Database as a Service" category of the tech stack, while RethinkDB can be primarily classified under "Databases".

Some of the features offered by Amazon DynamoDB are:

  • Automated Storage Scaling – There is no limit to the amount of data you can store in a DynamoDB table, and the service automatically allocates more storage, as you store more data using the DynamoDB write APIs.
  • Provisioned Throughput – When creating a table, simply specify how much request capacity you require. DynamoDB allocates dedicated resources to your table to meet your performance requirements, and automatically partitions data over a sufficient number of servers to meet your request capacity. If your throughput requirements change, simply update your table's request capacity using the AWS Management Console or the Amazon DynamoDB APIs. You are still able to achieve your prior throughput levels while scaling is underway.
  • Fully Distributed, Shared Nothing Architecture – Amazon DynamoDB scales horizontally and can seamlessly scale a single table over hundreds of servers.

On the other hand, RethinkDB provides the following key features:

  • JSON data model and immediate consistency.
  • Distributed joins, subqueries, aggregation, atomic updates.
  • Secondary, compound, and arbitrarily computed indexes.

"Predictable performance and cost" is the primary reason why developers consider Amazon DynamoDB over the competitors, whereas "Powerful query language" was stated as the key factor in picking RethinkDB.

RethinkDB is an open source tool with 22.3K GitHub stars and 1.73K GitHub forks. Here's a link to RethinkDB's open source repository on GitHub.

Netflix, Medium, and Intuit are some of the popular companies that use Amazon DynamoDB, whereas RethinkDB is used by miDrive, Runbook, and The Control Group. Amazon DynamoDB has a broader approval, being mentioned in 433 company stacks & 173 developers stacks; compared to RethinkDB, which is listed in 37 company stacks and 25 developer stacks.

Advice on Amazon DynamoDB and RethinkDB

We are building a social media app, where users will post images, like their post, and make friends based on their interest. We are currently using Cloud Firestore and Firebase Realtime Database. We are looking for another database like Amazon DynamoDB; how much this decision can be efficient in terms of pricing and overhead?

See more
Replies (1)
William Frank
Data Science and Engineering at GeistM · | 2 upvotes · 50.9K views
Recommends

Hi, Akash,

I wouldn't make this decision without lots more information. Cloud Firestore has a much richer metamodel (document-oriented) than Dynamo (key-value), and Dynamo seems to be particularly restrictive. That is why it is so fast. There are many needs in most applications to get lightning access to the members of a set, one set at a time. Dynamo DB is a great choice. But, social media applications generally need to be able to make long traverses across a graph. While you can make almost any metamodel act like another one, with your own custom layers on top of it, or just by writing a lot more code, it's a long way around to do that with simple key-value sets. It's hard enough to traverse across networks of collections in a document-oriented database. So, if you are moving, I think a graph-oriented database like Amazon Neptune, or, if you might want built-in reasoning, Allegro or Ontotext, would take the least programming, which is where the most cost and bugs can be avoided. Also, managed systems are also less costly in terms of people's time and system errors. It's easier to measure the costs of managed systems, so they are often seen as more costly.

See more
Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Amazon DynamoDB
Pros of RethinkDB
  • 62
    Predictable performance and cost
  • 56
    Scalable
  • 35
    Native JSON Support
  • 21
    AWS Free Tier
  • 7
    Fast
  • 3
    No sql
  • 3
    To store data
  • 2
    Serverless
  • 2
    No Stored procedures is GOOD
  • 1
    ORM with DynamoDBMapper
  • 1
    Elastic Scalability using on-demand mode
  • 1
    Elastic Scalability using autoscaling
  • 1
    DynamoDB Stream
  • 48
    Powerful query language
  • 46
    Excellent dashboard
  • 42
    JSON
  • 41
    Distributed database
  • 38
    Open source
  • 25
    Reactive
  • 16
    Atomic updates
  • 15
    Joins
  • 9
    MVCC concurrency
  • 9
    Hadoop-style map/reduce
  • 4
    Geospatial support
  • 4
    Real-time, open-source, scalable
  • 2
    Great Admin UI
  • 2
    A NoSQL DB with joins
  • 2
    YC Company
  • 2
    Fast, easily scalable, great customer support
  • 2
    Changefeeds: no polling needed to get updates

Sign up to add or upvote prosMake informed product decisions

Cons of Amazon DynamoDB
Cons of RethinkDB
  • 4
    Only sequential access for paginate data
  • 1
    Scaling
  • 1
    Document Limit Size
    Be the first to leave a con

    Sign up to add or upvote consMake informed product decisions

    - No public GitHub repository available -

    What is Amazon DynamoDB?

    With it , you can offload the administrative burden of operating and scaling a highly available distributed database cluster, while paying a low price for only what you use.

    What is RethinkDB?

    RethinkDB is built to store JSON documents, and scale to multiple machines with very little effort. It has a pleasant query language that supports really useful queries like table joins and group by, and is easy to setup and learn.

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

    What companies use Amazon DynamoDB?
    What companies use RethinkDB?
    See which teams inside your own company are using Amazon DynamoDB or RethinkDB.
    Sign up for Private StackShareLearn More

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

    What tools integrate with Amazon DynamoDB?
    What tools integrate with RethinkDB?

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

    Blog Posts

    GitHubPythonNode.js+47
    50
    69459
    GitHubGitSlack+30
    25
    15571
    GitHubDockerAmazon EC2+23
    12
    6360
    GitHubPythonSlack+25
    7
    2840
    DockerSlackAmazon EC2+17
    18
    5659
    What are some alternatives to Amazon DynamoDB and RethinkDB?
    Google Cloud Datastore
    Use a managed, NoSQL, schemaless database for storing non-relational data. Cloud Datastore automatically scales as you need it and supports transactions as well as robust, SQL-like queries.
    MongoDB
    MongoDB stores data in JSON-like documents that can vary in structure, offering a dynamic, flexible schema. MongoDB was also designed for high availability and scalability, with built-in replication and auto-sharding.
    Amazon SimpleDB
    Developers simply store and query data items via web services requests and Amazon SimpleDB does the rest. Behind the scenes, Amazon SimpleDB creates and manages multiple geographically distributed replicas of your data automatically to enable high availability and data durability. Amazon SimpleDB provides a simple web services interface to create and store multiple data sets, query your data easily, and return the results. Your data is automatically indexed, making it easy to quickly find the information that you need. There is no need to pre-define a schema or change a schema if new data is added later. And scale-out is as simple as creating new domains, rather than building out new servers.
    MySQL
    The MySQL software delivers a very fast, multi-threaded, multi-user, and robust SQL (Structured Query Language) database server. MySQL Server is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software.
    Amazon S3
    Amazon Simple Storage Service provides a fully redundant data storage infrastructure for storing and retrieving any amount of data, at any time, from anywhere on the web
    See all alternatives