Overview
Explore strategies for modernizing legacy monoliths in this RailsConf 2023 talk. Learn how to apply microservices patterns to a modular monolith approach, focusing on ensuring data consistency and managing distributed transactions. Discover insights and potential pitfalls from the speaker's experience, covering topics such as atomicity, persistent events, and the implementation of outbox patterns using Kafka. Gain practical knowledge on member creation processes, rollback mechanisms, and effective techniques for dealing with technical debt in large-scale Ruby on Rails applications.
Syllabus
Introduction
Guillermos journey
Monoliths
Monolith Disadvantages
Microservices
Microservices disadvantages
Modular monolith
Crosspollination
Atomicity
Data Consistency
microservices patterns
patterns
distributed transactions
persistent events
tech stack
Kafka gem
Events
Outbox
Outbox code
Member creation
rollback
final slide
conclusion
Taught by
Ruby Central