请参阅AmazonSimpleDB 详细信息页面上的定价部分。 Please see the pricing section on the Amazon SimpleDB detail page. The nature of SimpleDB makes this operation a little more challenging as well. 此外,AmazonS3和AmazonSimpleDB 使用不同类型的物理存储。 Additionally, Amazon S3 and Amazon SimpleDB use different types of physical storage. SimpleDB 没有项目删除的概念,但它可以删除属性,如上所述。SimpleDB has no concept of an item deletion, but it can delete attributes, as mentioned above. 与许多AWS服务不同,没有用于管理SimpleDB 的亚马逊控制台。 Unlike many AWS services, there isn't an Amazon-delivered console for management of SimpleDB .
现在我们输入了一些测试数据,让我们从Node发出第一个SimpleDB 请求。 Now that we have entered some test data, let's make our first SimpleDB request from Node. 现在我们已经了解了SimpleDB 服务,让我们开始编写我们的REST服务器。 Now that we have gotten to know the SimpleDB service, let's start writing our REST server. SimpleDB 不提供任何关于最终一致性窗口的保证,但通常不超过一秒。AWS does not offer any guarantees about this window, but it is frequently less than one second. 作为惯例,我通常以复数形式命名属性以反映SimpleDB 的多值性质。 As a convention, I usually name properties in plural form to reflect the multi-value nature of SimpleDB . 对于每个用户读取请求来说,SimpleDB 支持两种选择:最终一致性或强一致性。 SimpleDB supports two options of for each user read request: eventual consistency or strong consistency. SimpleDB 横跨这一行-它是一个键/值存储,也可以使用SQL的变体进行检索。SimpleDB straddles this line- it is a key/value store and it can also use a variant of SQL for retrieval. 现在,User即可使用自己的密钥调用SimpleDB 来访问AWS账户资源。 The User can now make calls to SimpleDB using his own keys to access the AWS Accounts resources. 要使用SimpleDB ,你还需要获取AWS凭据,其中包括访问密钥和密钥。 To use SimpleDB , you will also need to get your AWS credentials, which include an Access Key and a Secret Key. 首先,你需要包含SDK模块,创建AWS对象,最后设置SimpleDB 接口。 First, you will need to include the SDK module, create an AWS object, and finally set up your SimpleDB interface. SimpleDB是一种即用即付服务,但AWS目前包含对SimpleDB 的免费许可。 SimpleDB is a pay-as-you-go service,but AWS currently includes a generous free allowance for SimpleDB . 但是,这不会贬低它相对于SimpleDB 在性能、扩展性和延时等方面的进步。 However that doesn't detract from the major step forward from SimpleDB in performance, scalability and latency. AmazonSimpleDB 提供了少量简单的API调用,可以实施数据的编写、索引和查询。 Amazon SimpleDB provides a small number of simple API calls which implement writing, indexing and querying data. 在过去的八个月里,SimpleDB 的需求已经明显下降,尽管在2011年底略有回升,但是整体不见起色。 SimpleDB demand has dropped significantly over the past 8 months, though there is a slight upturn towards the end of 2011. SimpleDB 在过去八个月需求稍有下降,但是在2011年底却有了一个轻微的上升。SimpleDB demand has dropped significantly over the past 8 months, though there is a slight upturn towards the end of 2011. 由于我们将构建一个在SimpleDB 中存储数据的REST服务器,因此了解REST服务器的功能很重要。 Since we will be building a REST Server that stores data in SimpleDB , it's important to understand what a REST server does. SimpleDB 服务器可完成这些操作,除非出现一个错误,否则以成功代码和结果数进行响应。The SimpleDB server completes the operations, unless there is an error, and responds with a success code and response data. 此SDK不仅处理SimpleDB ,还处理所有AWS服务,因此你可能已将其包含在package.json文件中。 This SDK handles not just SimpleDB but all the AWS services, so you may already be including it in your package. json file. 如果您需要额外扩展,则应自行判断是否管理数据在更多SimpleDB 表上的分区和再分区。 It is up to you to manage the partitioning and re-partitioning of your data over additional SimpleDB tables if you need additional scale. 由于每个SimpleDB itemName都必须是唯一的,因此我们可以为每个新创建的项自动生成一个新的itemName。 Since each SimpleDB itemName needs to be unique, we can auto-generate a new itemName for each newly created item. 当我们遇到get/read操作时,SimpleDB 的响应不是很有用,因为它专注于属性/值对。 As we ran into with the get/read operation, the response from SimpleDB isn't very useful as it is focused on the attribute/value pairs. AmazonSimpleDB 是高可用性、灵活并且可扩展的非关系数据存储,可以免除数据库管理的工作负担。 Amazon has SimpleDB which is highly available, scalable, and flexible non-relational data store that offloads the work of database administration. 幸运的是,我们可以将此更新操作合并为两个SimpleDB 请求而不是五个:一个用于放置属性,另一个用于删除属性。 Luckily, we can consolidate this update operation into two SimpleDB requests instead of five: one to put the attributes, and one to delete the attributes. SimpleDB 是一个简单的数据存储,它缺乏一个完全成熟的关系数据库管理系统(RDBMS)所拥有的完善的功能,但是提供了一种可伸缩的键值存储。SimpleDB is a simple data storage that lacks the sophistication of a full-fledged Relational Database Management System(RDBMS), while providing scalable key-value storage. 要详细了解AmazonSimpleDB 的一致性,请参阅《AmazonSimpleDB DeveloperGuide》或《ConsistencyEnhancementsWhitepaper》。 To learn more about consistency with Amazon SimpleDB , please refer to the Amazon SimpleDB Developer Guide or Consistency Enhancements Whitepaper. 然而,不像SimpleDB ,使用谷歌网络服务平台之外的应用,你并不能并发地与AppEngineDatastore进行接口(或通过BigTable)。 However, unlike with SimpleDB , you cannot currently interface with the AppEngine Datastore(or with BigTable) using an application outside of Google's web service platform.
Display more examples
Results: 78 ,
Time: 0.0187