Professional Cloud ArchitectDesign and plan a cloud solution architectureHard

A global online gaming company needs to store session data for millions of concurrent users. This data requires extremely low-latency access (sub-millisecond) for read and write operations and must be highly scalable to handle peak loads. Data consistency can be eventually consistent. Which Google Cloud storage service is best suited for this use case?

  1. ACloud Firestore
  2. BCloud SQL
  3. CCloud Storage
  4. DMemorystore for Redis
Show answer & explanation

Correct answer: D. Memorystore for Redis

Memorystore for Redis is a fully managed in-memory data store that provides extremely low-latency (sub-millisecond) read and write operations, high throughput, and scalability, making it ideal for caching and managing real-time session data for millions of users where eventual consistency is acceptable.

Why the other options are wrong

  • A. Cloud Firestore is a NoSQL document database, offering good scalability but typically not the 'extremely low-latency (sub-millisecond)' performance required for real-time session data at this scale.
  • B. Cloud SQL is a relational database; its latency and scalability profile are not designed for sub-millisecond access for millions of concurrent users compared to an in-memory store.
  • C. Cloud Storage is object storage, designed for large file storage and retrieval, not for low-latency, real-time transactional or session data.

Memorystore for Redis

A fully managed in-memory data store service compatible with open-source Redis, providing extremely low-latency (sub-millisecond) data access for caching and real-time use cases.

  • Fully managed Redis compatible service
  • Sub-millisecond latency for reads/writes
  • Ideal for caching, session management, real-time analytics

Memory trick: Memorystore Redis remembers sessions super fast.

More Design and plan a cloud solution architecture questions