nosql – Amazon SimpleDB与Amazon DynamoDB

前端之家收集整理的这篇文章主要介绍了nosql – Amazon SimpleDB与Amazon DynamoDB前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我有一些基本的了解什么 Amazon SimpleDB是,但根据 Amazon DynamoDB的描述,似乎是几乎一样:一个 NoSQL Key-value store服务。

有人可以简单地解释他们之间的主要区别,并告诉在哪些情况下选择一个。

这是通过相应的FAQ Q: How does Amazon DynamoDB differ from Amazon SimpleDB? Which should I use?(散列链接不再有效,但使用页内查找定位问题在页面内)已经在一定程度上解决,在段落结尾的最紧凑的摘要

While SimpleDB has scaling limitations,it may be a good fit for
smaller workloads that require query flexibility. Amazon SimpleDB
automatically indexes all item attributes and thus supports query
flexibility at the cost of performance and scale.

因此,它是性能/可扩展性和简单性/灵活性之间的折衷,即对于更简单的场景,使用SimpleDB可能更容易开始,以避免为您的DynamoDB应用程序构建复杂性(见下面的不同透视图)。

链接的常见问题条目还引用了Werner Vogel的Amazon DynamoDB – a Fast and Scalable NoSQL Database Service Designed for Internet Scale Applications,这确实是一个详尽的,因此强烈推荐阅读亚马逊的Nosql的历史,特别是Dynamo;它包含更多的洞察解决您的问题,例如。

It became obvIoUs that developers [even Amazon engineers] strongly preferred simplicity to
fine-grained control as they voted “with their feet” and adopted
cloud-based AWS solutions,like Amazon S3 and Amazon SimpleDB,over
Dynamo. [addition mine]

显然DynamoDB已经被介绍来解决这个问题,因此可以被认为是SimpleDB的继承者,而不是“只是”修改他们现有的Nosql产品:

We concluded that an ideal solution would combine the best parts of
the original Dynamo design (incremental scalability,predictable high
performance) with the best parts of SimpleDB (ease of administration
of a cloud service,consistency,and a table-based data model that is
richer than a pure key-value store).

Werner的摘要建议DynamoDB适合任何大小的应用程序现在相应地:

Amazon DynamoDB is designed to maintain predictably high performance and to be highly cost efficient for workloads of any scale,from the smallest to the largest internet-scale applications.

猜你在找的NoSQL相关文章