The great debate about whether to use APIs vs Events will never stop. Some software developers and architects swear by the simplicity of an HTTP REST API or some RPC framework like gRPC. Other think that's a rudimental approach and that messaging (aka events) are the only way to implement a system with high cohesion and low coupling.
I have coded and design several systems with both integration approaches. I am going to share my macro-architectural rules that I am applying today in my modern designs.
After watching this video, you won't have to guess anymore. You will know exactly when to use one approach or the other.
A lot of the information I shared is based on these books:
(These are affiliate links. If you click on the link and make a purchase, I will receive a commission)
Domain Driven Design amzn.to/3r0ZHeT
Enterprise Integration Patterns amzn.to/3suVDUw
Cloud Native Patterns amzn.to/45Vb332
Software Architecture Patterns for Serverless Systems amzn.to/3qWeM1o
🤝 Do you want to connect with me? / Do you need my services? 🤝
Visit my website: marcolenzo.eu
Add me on LinkedIn: / marcolenzo
Add me on Twitter: / marco_lenzo
📝 Subscribe to my newsletter! 📝
news.marcolenz...
#api #softwarearchitecture #eventdrivenarchitecture
Негізгі бет APIs vs Events in Microservices | Which one is better?
Пікірлер: 13