Five Common Data Stores and When to Use Them - Shopify

This post provides an overview of five common data store types: Relational Databases (MySQL), Non-relational Databases (Document Stores like MongoDB, Wide Column Stores like Cassandra/Bigtable), Key-Value Stores (Redis, Memcached), Full-Text Search Engines (Elasticsearch), and Message Queues (Kafka). It details their characteristics, use cases, and Shopify's specific usage of MySQL, Bigtable, Redis, Memcached, Elasticsearch, and Kafka. The post emphasizes the durability and ACID properties of relational databases for business-critical data, the flexibility and scalability of NoSQL for large or unstructured data, the performance of in-memory key-value stores for caching, the specialized text-searching capabilities of search engines, and the reliable data transfer of message queues.
More from the Data Store Selection and Usage trail
- We replaced Redis with MySQL for inventory reservations—and it scaled (2026) - Shopify
- Mitigating Deadlocks in high concurrency environments - Shopify
- Safely Adding NOT NULL Columns to Your Database Tables - Shopify
- Double Entry Transition Tables: How We Track State Changes At Shopify - Shopify
- Shopify’s Unique Data Science Hierarchy Of Needs - Shopify