App Engine中的实体种类配额限制?(Entity Kind quota limit in App Engine?)

系统教程 行业动态 更新时间:2024-06-14 17:04:03
App Engine中的实体种类配额限制?(Entity Kind quota limit in App Engine?)

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

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

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?

最满意答案

数据存储区基本上用作巨型HashMap<Key-Entity> ,因为HashMap可以放置无限数量的密钥,因为一个密钥是appId, Kind和实体ID或名称的混合,您也可以使用无限数量的密钥。

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.

更多推荐

本文发布于:2023-04-24 21:08:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/dzcp/71ef33954e16a3ac71d68fb778b47bfc.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:配额   实体   种类   Engine   App

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!