From the course: Microservices: Asynchronous Messaging

Unlock the full course today

Join today to access over 24,400 courses taught by industry experts.

Data synchronization

Data synchronization

- [Instructor] Much of what we've seen actually includes a little bit of synchronization. Distributed data's eventual consistency, and the migration model are prime examples. I want to talk about it a bit more here however. You may ask why would we need to synchronize data? One use case is we have different databases. Consider a runtime database in a data warehouse for business intelligence reporting. These databases need to stay in sync, but the BI system doesn't need to be synchronous in getting its data. Another, and one that I have used a lot with NoSQL databases, is differing systems. Because NoSQL indices tend to be a weak spot, I've used synchronization to keep a search engine in sync with the database itself so that I have a place to execute complex queries as necessary. While there are for sure many other use cases, these are the two that I have most often used, and really, the model is the same for all use cases.…

Contents