Architectures
• Microservices Architecture
Patterns&Principles
• The Database-perService Pattern
• Polygot Persistence
• Decompose services by scalability
• The Scale Cube
• Microservices
Decomposition Pattern
• Microservices Communications Patterns
• Microservices Data Management Patterns
Non-FR
• High Scalability
• High Availability
• Millions of Concurrent User
• Independent
FR
• List products
• Filter products as per brand and categories
• Put products into the shopping cart
• Apply coupon for discounts
• Checkout the shoppingcart and create an orde• List my old orders and order items history
Microservices Data Choosing Database
• The Shared Database Antipattern
• Relational and NoSQL
Databases
• CAP Theorem–Consistency,
Availability, Partition
Tolerance
• Data Partitioning:
Horizontal, Vertical and
Functional Data Partitioning
• Database Sharding Pattern