System Design Patterns: From Fundamentals to Real Systems
0% completed
Change Data Capture
At 03:00:12 one night, a program that watches the store database published this record:
{ "op": "u", "table": "products", "position": "0/7A3F2C10", "before": { "id": "p-4410", "name": "Aurora headphones", "price_cents": 4400 }, "after": { "id": "p-4410", "name": "Aurora headphones", "price_cents": 4000 } }
The op field says what kind of change happened, and u means an update. The before and after fields hold the whole row before and after the change, so Aurora headphones went from 44.00 to 40.00. The `position
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%