【发布时间】:2017-10-29 20:51:17
【问题描述】:
在documentation 中,它指出任何单个文档的最大写入速率为 1 写入/秒。 这个限制是浅的还是深的?
例如,假设我有以下结构:
users<collection>/{uid}<doc> : {
name: "whatever",
likes<collection>: {
shard_0<doc>: {
like_count: 5
},
shard_1<doc>: {
like_count: 4
},
...
shard_n<doc>: {
like_count: 4
}
}
}
假设我对任何单个分片文档的最大写入速率是 1 写入/2 秒。显然,当我增加类似分片文档的数量时,我永远不会超过其中任何一个的写入限制,但是如果限制很深并且我总结它们,我肯定会超过 {uid 的最大写入速率} 文档。
【问题讨论】:
标签: firebase google-cloud-firestore