@puf.ioFrank van Puffelen @puf.io
2026-11-23 21:50 UTC
Firestore count API is cheap, but the cost is linear. Counting 10M docs with it costs 10K document reads. A cheaper way to count documents in a collection: * Read 100-200 document IDs * Get an order-of-magnitude estimate instantly Try it out yourself: puf.io/posts/firesto...
1 likes, 0 reposts, 0 replies
3 Next post4 More from @puf.ioBackBluesky home