Answers
- The message queue gets a message and has a single subscriber dequeue it. If nothing dequeues a message, it stays in the queue indefinitely (the FIFO model). The Pub-Sub model gets a message and sends it to zero or more subscribers.
- Event sourcing is the process of chronologically accumulating events that happened in a system instead of persisting in the current state of an entity. It allows you to recreate the entity’s state by replaying those events.
- Yes, you can mix Gateway patterns.
- No, you can deploy micro-applications (microservices) on-premises if you want to.
- It separates generic functionalities from app-specific ones, promoting cleaner code and modularization. It also helps simplify the frontend.
Learn more on Discord
To join the Discord community for this book – where you can share feedback, ask questions to the author, and learn about new releases – follow the QR code below: