Microservice architecture
Last updated
Last updated
I noted by the follow by microservices.io, just in case the website cannot be visited anymore.
Using 4+1 architectural view model to decide how to decompose services. These notes below are from Microservices patterns of *Chris Richarson.
Logical view - The software elements that are created by developers. In object-oriented languages, these elements are classes and packages. The relations between them are the relationships between classes and packages, including inheritance, associations, and depends-on.
Implementation view - The output of the build system. This view consists of modules, which represent packaged code, and components, which are executable or deployable units consisting of one or more modules. In Java, a module is a JAR file, and a component is typically a WAR file or an executable JAR file. The relations between them include dependency relationships between modules and composition relationships between components and modules.
Process view - The components at runtime. Each element is a process, and the relations between processes represent interprocess communication.
Deployment - How the processes are mapped to machines. The elements in this view consist of (physical or virtual) machines and the processes. The relations between machines represent networking. This view also describes the relationship between processes and machines.
[[Decompose by business capability]] read more
[[Decompose by subdomain]] read more
[[Self-contained Service]] read more
[[Service per team]] read more
[[Consumer-driven contract test]] read more
[[Consumer-side contract test]] read more
[[Service Component test]] read more
[[Service template]] read more
[[Microservice Chassis]] read more
[[Externalized configuration]] read more
[[Access token]] read more
[[Transactional outbox]] read more
[[Transaction log tailling]] read more
[[Polling publisher]] read more
[[Circuit Breaker]] read more
[[Distributed tracing]] read more
[[Health check API]] read more
[[Exception tracking]] read more
[[Log aggregation]] read more
[[Log deployments and changes]] read more
[[Multiple Services instance per host]] read more
[[Single Service instance per host]] read more
[[Serverless deployment]] read more
[[Service instance per Container]] read more
[[Service instance per VM]] read more
[[Service deployment platform]] read more
[[Service mesh]] read more
[[Sidecar]] read more
[[Service registry]] read more
[[Server-side discovery]] read more
[[3rd party registration]] read more
[[API gateway]] or [[Backends for Frontend]] read more
https://grokkingtechinterview.com/24-microservices-interview-questions-and-answers-to-land-that-job-4ae81ef34083