QuestionQ18

VerifiedIntegrating applications with Google Cloud services

You are designing a Node.js-based mobile news-feed application that stores data on Google Cloud. You need to choose the application's database. You want the database to provide out-of-the-box zonal resiliency, low-latency responses, ACID compliance, an optional middle tier, semi-structured data storage, and client libraries that tolerate network partitions and support offline mode. What should you do?

Explanation

Firestore is a flexible document database with nested, semi-structured data, ACID properties for writes, transaction support, and strongly consistent queries. A regional Firestore location replicates data across multiple zones, while multi-region locations further improve availability. Firestore supports direct mobile and web SDK access without an intermediary server, as well as Node.js server client libraries when a middle tier is needed. Its mobile and web SDKs cache active data, allow reads and writes while offline, and synchronize changes after connectivity returns.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!