Does Google Datastore have a provisioned capacity system like DynamoDB?

谁都会走 提交于 2019-12-11 17:19:12

问题


I have looked around quite a bit for any information on how Google Datastore scales up and whether you have to pre-order capacity like with DynamoDB.

I couldn't find a shred of info since they changed up their pricing model in March 2016.

Is Datastore a noSQL that you can throw anything at it and it just scales (without you thinking about hidden partitions)?

I looked on this pricing page but all it says is a fixed flat fee per read & write (no mention of a provisioned capacity system where you CAN get throttled if you go over your queries/sec)


回答1:


There is no such thing as pre-ordering capacity with the Google datastore.

But while the datastore itself is highly scalable you need to take care of scalability on your app side as well. From Avoiding datastore contention:

App Engine's datastore is a powerful distributed data storage service built on top of the high-performance database management system known as Bigtable. Although the datastore is built to scale, you must take care when designing your data models to avoid the prospect of contention as your application grows.

...

App Engine is a great "engine" for building highly scalable web applications backed by a world-class infrastructure, but it's your responsibility to use the tools provided as effectively and efficiently as possible. A large part of this is designing your data model to leverage the core strengths of App Engine's underlying datastore and doing so early-on so you can reap the rewards as your application's traffic skyrockets.

You don't need to worry about throttling, but you might want to worry about cost :) See Datastore Quotas.




回答2:


Is Datastore a noSQL that you can throw anything at it and it just scales (without you thinking about hidden partitions)?

Yes.



来源:https://stackoverflow.com/questions/45286610/does-google-datastore-have-a-provisioned-capacity-system-like-dynamodb

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!