How we're trying to develop a new chat service through WebSockets at letgo coming from a monolithic REST API.
The challenge: Maintain the backwards compatibility. We don't want to force the mobile app users to update in order to use the new system. Furthermore, we have a lot of uncertainty on how the new system will perform, so in order to reduce it, we're taking advantage of an Event Sourcing approach in order to process in the new chat system in the staging environment the actual production load of the current system.
If you want to learn more about the whole process we've followed and not just the synchronization part, come to the Software Craftsmanship Barcelona! This time we (@SergiGP and me, @JavierCane, will try to explain some more interesting things about how we're trying to develop this new chat system and, maybe you could bring some interesting discussion points :D).
I'll do a video summarizing some of the talk conceptos for the http://codely.tv video blog, so stay tuned! http://twitter.com/CodelyTV
Machine Learning Software Engineering Patterns and Their Engineering
Leaving The Monolith thanks to #EventSourcing @ #scpna
1. Leaving The Monolith
thanks to Event Sourcing
Migrations, Event Sourcing, AWS, and other things of the meter
@JavierCane#scpna - Software Craftsmanship Pamplona
2. @JavierCane#scpna - Software Craftsmanship Pamplona
Saliendo del monolito,
al Rico Eventito
Migraciones, Event Sourcing, y otras cosas del meter
11. Starting point
Context
! Mobile first application
! Crazy growth (ads in TV in USA and Turkey)
◕ External services (Parse, Kahuna…)
◕ In-house API
! Where do we go
◕ Microservices architecture
◕ Event Sourcing
◕ Orchestration Layer
34. Conclusions
! Isolated services
◕ Different technologies
◕ Different context
◕ Change context => Mental challenge
! AWS vs RabbitMQ
◕ Go fast => AWS
! From PHP to Scala: 🙃 🙂 🙃 💃 🙃 😀 😐 😳 🤔 🙂 🙃 🙂 …
! Know more at #SCBCN16! (October 1st & 2nd in BCN)
35. References / To take away
! A Series of Fortunate Events
! The anatomy of Domain Event
! 6 Code Smells with your CQRS Events and How to
Avoid Them
! json:api standard
! Sending Amazon SNS Messages to Amazon SQS
Queues
! Subscribing a Queue to an Amazon SNS Topic