CCP2 Cloud Native Application Composition
Page content
Architecture
SOA Principles
- Standardized protocols
- Abstraction (from service implementation)
- Loose coupling
- reusability
- composability
- stateless service
- discoverable services
Microservices architecture
is a SOA architectural style to develop applications
- as a suite of “small” services,
- each running in its own process
- and communicating with lightweight mechanisms (REST APIs or Messaging).
- They are built around business capabilities following the “do one thing well” principle.
Services are highly decoupled (yet composed) and focus on doing a small task
Decomposition
Domain driven Design
- methodology used to develop complex system
- supports evolution of the design
- main focus of design are domains
- requires collaboration between domain (business) and technical expert
Core Concepts
- context: the setting of concept defines it’s meaning
- domain: specific area of knowledge or activity. composed of sub-domains
- model: system of abstractions that describes selected aspects of a model
- ubiquitous language: language structured around the domain model
- bounded context: explicit definition of the context where a model applies(organisation, usage, boundaries)