In this video, learn how to use asynchronous messaging to solve for data synchronization between separate services and data stores in a microservices architecture.
- [Instructor] Much of what we have 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 desyncrhonized data? … One use case is we have different databases. … Consider a runtime database and 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 have used synchronization to keep a search engine … in sync with the database itself … so that I'd 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. … A little bit of a warning here. …
- Gains and tradeoffs of asynchronous communications
- Use cases for interservice communication patterns
- Event-driven microservices
- Use cases for choreographed and orchestrated events
- Streaming data platforms
- Data flows, migration, and synchronization