Following up on my previous post learning about write limits to individual collections
Firestore 500+ Writes Per Second to One Collection
How does this 500ps limit apply to CollectionGroups that were recently introduced? (btw...Todd didn't get a loud enough cheer here! :P)
https://firebase.google.com/docs/firestore/query-data/queries#collection-group-query
Firestore limits still only reference individual collections:
https://firebase.google.com/docs/firestore/quotas
Maximum write rate to a collection in which documents contain sequential values in an indexed field: 500 per second
Dan McGrath in my previous post said this is because indexing for Individual Collections
will be limited by the load a single server can handle.
Example data model:
If I create a CollectionGroup Index for posts (query across all subcollections called "posts") - order DESCENDING by date
Would my write limit across all those subcollections go down from 10k per second to 500 per second? How is CollectionGroup indexing handled? By the same "individual server"?
If so...this essentially means theres no benefit to putting these "posts" in separate subcollections vs. one individual root level collection from a write limit perspective.
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/506da511-35a3-4593-8624-8425a351fcdf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to fireba...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/2267d0e5-adb2-4e04-9515-757ed975dfd6%40googlegroups.com.