App Engine中的实体种类限额? [英] Entity Kind quota limit in App Engine?

查看:110
本文介绍了App Engine中的实体种类限额?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您可以在App Engine中拥有的实体种类的数量是否有限制?



低级数据存储 ShardedCounter.java示例为每个计数器名称创建一个新的实体 Kind ,而JDO示例将每个计数器存储在相同的实体类中。我喜欢前者的优势,但不知道它是否可以扩展到数百万个计数器名称?解析方案

数据存储区基本上作为巨大的 HashMap< Key-Entity> ,作为HashMap,你可以放入无限数量的键,因为一个键是你的appId, Kind, 和实体ID或名称也可以使用不限数量的种类。


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?

解决方案

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.

这篇关于App Engine中的实体种类限额?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆