Русские видео

Сейчас в тренде

Иностранные видео


Скачать с ютуб GopherCon UK 2021: Tiago Mendes - Co-ordinating data changes in distributed systems в хорошем качестве

GopherCon UK 2021: Tiago Mendes - Co-ordinating data changes in distributed systems 3 года назад


Если кнопки скачивания не загрузились НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу страницы.
Спасибо за использование сервиса ClipSaver.ru



GopherCon UK 2021: Tiago Mendes - Co-ordinating data changes in distributed systems

Changing data that affects multiple areas of a system is a relatively simple task in traditional monolithic systems with a centralised database, where we rely on database transactions to ensure the integrity of data. However, in microservice-based architecture things can get more complicated when a single request requires changes across multiple services - especially if data integrity and consistency is critical at all times (for example in insurance or banking applications). How do we ensure that all changes were applied successfully to all services, particularly if we have an 'all-or-nothing' policy for these changes? How can we rollback if a failure does happen, in order to guarantee that the data stays consistent? In this talk I'll walk through an approach to solve this problem, using Go examples to guide us. I'll first explain the nature of the problem, and why it can be quite complex. I'll then explain the Saga pattern which can be used to safely implement such changes.

Comments