Maintaining distributed data consistency using Change Data Capture

No ratings

Presented at DevConLive 2020 by

One of the most common approaches when designing loosely-coupled (micro)service architectures is using a database per service. But given the fact that these services are communicating asynchronously, how can we make sure that the data remains consistent between all our systems?Change Data Capture gives us a solution to this challenge: it allows us to react to database changes (insert/update/delete operations) of interest and propagate specific events to our event bus.During this masterclass, we will be addressing the following topics:● how to implement this pattern using open-source tools;● advantages and disadvantages of such an approach;● different ways to further improve our solution;● other areas where CDC might prove useful.While this session will have its examples and coding done in Java, the topics and challenges presented here are generally applicable to distributed systems regardless of the language of implementation. Minimal knowledge of microservice architectural patterns and synchronous / asynchronous communication would ensure your best experience. You are also invited to take our technical Masterclass quiz, which will be active for only 2 hours, starting at 12:00 AM. The winners will be announced at 15.00 PM. You can win one of 1500 lei Emag vouchers or 3* 500 lei Emag vouchers. The Quiz is available here: http://www.quiz-maker.com/QC5DA57YQ