API G
atew
ay
Create Order
Inventory Services
Price Services
Payment Services
Shipping Services
Analytics Services
Synchronous and Rest based Architecture
Potential Performance Drawbacks
! I/O & DB blocking !Monoliths and performance management !Poor internal and external end-point
management
Reactive Architecture
!Architecture Style !Responsive !Resilient !Elastic !Message and Event Driven !Asynchronous & non-blocking
API G
atew
ay
Order Management
Service
Inventory Services
Price Services
Payment Services
Shipping Services
Non-blocking and Asynchronous Inter-Service Communication
Order Management
Service Message Broker
C
C
E
E
C Command E Event
Rest
Analytics Services
Less-blocking Persistence, DDD, CQRS and Event Sourcing
E Event
ProducerProducer
Event Subscriber
Event Processor
Event Store Journal
E
E
E
E
QueryQuery State