Need advice about which tool to choose?Ask the StackShare community!
Amazon DynamoDB vs Dynomite: What are the differences?
Data Model: Amazon DynamoDB is a fully managed NoSQL database service that supports key-value and document data structures with the flexibility to add nested attributes. On the other hand, Dynomite is an open-source distributed key-value store that is protocol-compatible with Amazon DynamoDB but follows a simpler data model supporting only key-value pairs without nested attributes.
Consistency Levels: Amazon DynamoDB offers eventual consistency and strong consistency models for reads and writes, allowing users to choose between performance and consistency. In contrast, Dynomite supports eventual consistency by default, with an option to enable strong consistency on a per-operation basis.
Deployment Options: DynamoDB is offered as a fully managed service by Amazon Web Services, allowing users to focus on application development without worrying about infrastructure management. Dynomite, on the other hand, can be deployed on-premises or on cloud platforms like AWS, providing users with more control over their infrastructure but requiring manual setup and maintenance.
Performance Tuning: Amazon DynamoDB automatically handles partitioning, replication, and performance optimization based on user requirements and usage patterns. Dynomite requires manual configuration and tuning for partitioning, sharding, and performance optimization, making it more customizable but also more complex to manage.
Scalability: DynamoDB automatically scales storage and throughput capacity to handle increasing workloads and can effortlessly manage bursty traffic patterns. Dynomite allows manual partitioning and sharding for scalability but may require additional monitoring and adjustment to accommodate growth and changes in workload requirements.
Community Support: Amazon DynamoDB has a large user base and extensive documentation provided by AWS, ensuring robust support and resources for developers. Dynomite, being an open-source project, relies on community contributions and may have limited official support, requiring users to rely on community forums and resources for assistance.
In Summary, Amazon DynamoDB and Dynomite differ in their data models, consistency levels, deployment options, performance tuning, scalability features, and community support.
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?
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.
Pros of Amazon DynamoDB
- Predictable performance and cost62
- Scalable56
- Native JSON Support35
- AWS Free Tier21
- Fast7
- No sql3
- To store data3
- Serverless2
- No Stored procedures is GOOD2
- ORM with DynamoDBMapper1
- Elastic Scalability using on-demand mode1
- Elastic Scalability using autoscaling1
- DynamoDB Stream1
Pros of Dynomite
- Multi datacenters or regions3
- Low latency high throughput2
- Pluggable APIs (Currently have Redis/Memcached APIs)2
- Scale1
- Support many datastores: redis, memcached, rocksdb, etc1
Sign up to add or upvote prosMake informed product decisions
Cons of Amazon DynamoDB
- Only sequential access for paginate data4
- Scaling1
- Document Limit Size1