Amazon DynamoDB vs Flyway

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

Amazon DynamoDB

3.7K
3.2K
+ 1
195
Flyway

280
556
+ 1
33
Add tool

Amazon DynamoDB vs Flyway: What are the differences?

Key Differences between Amazon DynamoDB and Flyway

Amazon DynamoDB and Flyway are two popular software solutions used in website development. While both are valuable in their respective ways, there are several key differences that set them apart.

  1. Functionality: Amazon DynamoDB is a NoSQL database service provided by Amazon Web Services (AWS). It offers a highly scalable, fully managed, and serverless database that can seamlessly handle large amounts of data. On the other hand, Flyway is an open-source database version control and migration tool, primarily used for managing database schema changes.

  2. Data Structure: DynamoDB is schema-less, allowing developers to store a wide variety of structured, semi-structured, and unstructured data. It supports key-value, document, and column-family data models. Flyway, on the other hand, focuses on managing database schemas using SQL-based migration scripts that define the structure of the database.

  3. Scalability: DynamoDB is designed to scale automatically as the workload and demand for resources increase. It has built-in features like auto-scaling and partitioning that ensure the database can handle any amount of data and traffic. Whereas, Flyway's scalability is dependent on the underlying database technology being used.

  4. Deployment: DynamoDB is a fully managed service provided by AWS, which means developers do not need to worry about provisioning, configuring, and managing servers. It is readily available and can be easily integrated into any AWS infrastructure. Flyway, on the other hand, needs to be installed and configured separately as it is a standalone tool.

  5. Migration Process: Flyway provides a comprehensive migration workflow, enabling developers to easily manage and execute database schema changes. It tracks the history of migrations and allows for easy rollbacks if needed. DynamoDB, being a NoSQL database, doesn't have a traditional migration process as schema changes are often made dynamically without the need for explicit migrations.

  6. Cost: DynamoDB has a pay-per-usage pricing model with different pricing tiers based on provisioned throughput and storage. The cost increases with the amount of data storage and read/write capacity units provisioned. Flyway, being an open-source tool, is free to use, but there might be associated costs depending on the database technology used.

In summary, Amazon DynamoDB is a fully managed NoSQL database service that offers high scalability and flexibility for storing various types of data. Flyway, on the other hand, is an open-source database migration tool used for managing schema changes in databases.

Advice on Amazon DynamoDB and Flyway

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 · 107.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 StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Amazon DynamoDB
Pros of Flyway
  • 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
  • 13
    Superb tool, easy to configure and use
  • 9
    Very easy to config, great support on plain sql scripts
  • 6
    Is fantastic and easy to install even with complex DB
  • 4
    Simple and intuitive
  • 1
    Easy tool to implement incremental migration

Sign up to add or upvote prosMake informed product decisions

Cons of Amazon DynamoDB
Cons of Flyway
  • 4
    Only sequential access for paginate data
  • 1
    Scaling
  • 1
    Document Limit Size
  • 3
    "Undo Migrations" requires pro version, very expensive

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 Flyway?

It lets you regain control of your database migrations with pleasure and plain sql. Solves only one problem and solves it well. It migrates your database, so you don't have to worry about it anymore.

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

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

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

What tools integrate with Amazon DynamoDB?
What tools integrate with Flyway?

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

Blog Posts

GitHubPythonNode.js+47
54
72312
GitHubGitSlack+30
27
18322
GitHubDockerAmazon EC2+23
12
6566
GitHubPythonSlack+25
7
3155
DockerSlackAmazon EC2+17
18
5968
What are some alternatives to Amazon DynamoDB and Flyway?
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