Google Cloud Bigtable 有什么区别?和Google Cloud Datastore / App Engine数据存储,以及主要的实际优势/劣势是什么? AFAIK Cloud Datastore建立在Bigtable之上。
解决方案基于Datastore的经验并阅读Bigtable docs ,主要区别在于:
/ li>
What is the difference between Google Cloud Bigtable and Google Cloud Datastore / App Engine datastore, and what are the main practical advantages/disadvantages? AFAIK Cloud Datastore is build on top of Bigtable.
解决方案Based on experience with Datastore and reading the Bigtable docs, the main differences are:
- Bigtable seems to be designed for HBase compatibility, whereas Datastore is more geared towards Python/Java/Go web app developers (originally App Engine)
- Bigtable is 'a bit more IaaS' than Datastore in that it's not 'just there' but requires a cluster to be configured.
- Bigtable supports only one index - the 'row key' (the entity key in Datastore)
- This means queries are on the Key, unlike Datastore's indexed properties
- Bigtable supports atomicity only on a single row - there are no transactions
- Mutations and deletions appear not to be atomic in Bigtable, whereas Datastore provides eventual and strong consistency, depending on the read/query method
- The billing model is very different:
- Datastore charges for read/write operations, storage and bandwidth
- Bigtable charges for 'nodes', storage and bandwidth
更多推荐
Google Cloud Bigtable与Google Cloud Datastore
发布评论