Introducing COUNT, TTLs, and better scaling in Firestore
Blog post from Firebase
Firestore introduced preview features aimed at improving scalability, performance, and database management: count aggregation queries, reduced scaling limits, and time-to-live policies. Count queries, available in the Web, Android, iOS, and Node.js SDKs, return the number of documents matching standard or collection group queries without requiring clients to download those documents, though they are currently server-only and lack offline or real-time support. Firestore also removed previous maximum limits on reads per second, writes per second, and concurrent real-time connections, reducing the need for high-scale applications to design around such constraints. TTL policies allow developers to designate a timestamp field that triggers automatic document deletion, typically within 72 hours after expiration, helping manage growing datasets and compliance-related retention requirements.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| Real-time | 3 | 1,300 | 386 | 139 | -4% |
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.