Entity Kind quota limit in App Engine?

江枫思渺然 提交于 2019-12-12 04:13:47

问题


Is there any limit on the number of Entity Kinds you can have in App Engine?

The low level datastore ShardedCounter.java example creates a new Entity Kind for each counter name whereas the JDO example stores each counter in the same Entity Kind. I like the advantage of the former, but don't know whether it scales to millions of counter names?


回答1:


The datastore basically works as giant HashMap<Key-Entity>, as the HashMap you can put unlimited numbers of key, since one key is a mix of your appId, Kind, and entity Id or name you can use unlimited number of kinds too.




回答2:


There's no reason why GAE would impose such a restriction, having a new kind doesn't affect special things.
So there's no such limit. We should be able to find it on Google if it exists.



来源:https://stackoverflow.com/questions/12536958/entity-kind-quota-limit-in-app-engine

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