InterviewStack.io LogoInterviewStack.io

NoSQL and Polyglot Persistence Questions

Non-relational data stores and mixing them: key-value, document, wide-column, and graph databases, their data models and access patterns, and polyglot persistence where different stores serve different needs. Covers when NoSQL beats relational and how to integrate multiple stores coherently. Increasingly common in system-design and data-platform interviews.

HardSystem Design
68 practiced

Design an architecture for a social network using polyglot persistence: you must decide where to store messaging (low-latency), user profiles (read-heavy), time-series activity (events), social graph (friends/follows), and analytics. Recommend database technologies for each component (relational, key-value, time-series, graph, columnar) and explain why, including backup and cross-system consistency concerns.

MediumTechnical
55 practiced

Design a schema in a wide-column store (e.g., Cassandra) to support a user activity feed where reads are per-user and time-range based and writes are high-volume. Describe primary key design (partition key + clustering key), TTL/retention, anti-entropy considerations and how you would support reading latest N items per user efficiently.

That is every published NoSQL and Polyglot Persistence question for Data Engineer so far. Browse the other topics in this category, or practice this one interactively.