How We Migrated User Profiles to NoSQL
summary
A team extracted a user-data microservice from a monolithic processing system to handle user profiles and CRUD operations. They migrated storage from PostgreSQL to Cassandra, explaining reasons and benefits, described the profile schema and user aggregation, measures taken to avoid race conditions and edit conflicts on frequently updated client data, use of Elasticsearch and how they kept Cassandra and Elasticsearch consistent, and how they deployed both systems.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 1:50User profile requirements
- 3:59Choosing Cassandra
- 7:11Deploying Cassandra cluster
- 9:00Cassandra consistency levels
- 11:07Cassandra data model
- 16:01Production metrics
- 18:51Elasticsearch for search
- 24:29Data sync with Elasticsearch
- 27:43Production error handling
- 30:15Lightweight transaction pitfalls
- 32:02Migration takeaways
- 33:30Q&A
