- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我是 GAE 新手。我开始研究 NDB 数据存储服务。但它的父键结构确实让我困惑。我还在 YouTube 上观看了一些教程,但他们只是解释了其文档。
我也遵循了文档,但我仍然不清楚。这是我探索过的链接。
最佳答案
NDB 数据存储是一个分布式系统。一般来说,绝对的数据一致性对于分布式系统来说是非常困难的。默认情况下,NDB 是最终一致的。这意味着默认情况下:
如果您有更严格的要求,您可以通过为实体组提供相同的父键并在查询中指定它来定义实体组。然后,您就能够在这些群体中获得一致的行为。
通常最好根本不使用父 key ,因为它们会带来严重的性能损失。大多数时候应用程序不需要父 key 。
引自Entities, Properties, and Keys
There is a write throughput limit of about one transaction per second within a single entity group. This limitation exists because Datastore performs masterless, synchronous replication of each entity group over a wide geographic area to provide high reliability and fault tolerance.
关于python - 我想了解 Google NDB 数据存储 key ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36528513/
使用登录后,我想吐出用户名。 但是,当我尝试单击登录按钮时, 它给了我力量。 我看着logcat,但是什么也没显示。 这种编码是在说。 它将根据我在登录屏幕中输入的名称来烘烤用户名。 不会有任何密码。
关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。 这个问题似乎是题外话,因为它缺乏足够的信息来诊断问题。 更详细地描述您的问题或include a min
我是一名优秀的程序员,十分优秀!