跳转到主要内容
Chinese, Simplified
Definition of Terms

Architectural style defines:

  • a family of systems in terms of a pattern of structural organization; a vocabulary of components and connectors, with constraints on how they can be combined.
  • Architectural styles are reusable 'packages' of design decisions and constraints that are applied to an architecture to induce chosen desirable qualities.

Architecture Style Overview:


Best Practice

Perspective

General recommendation

Reference

Function

Micro-service for business application. Other application depends requirement

Functions Granularity Perspective

Develop

Hexagonal

 

Presentation

MVVM

 

Data Store

Master/Slave.

 

Workload

K8S

 

Communication & Service

HTTP /REST

Service Prespective

Tiering /layering

4 tier for business application ,other application depends requirement

 

Interaction

Request/Reply(Synchronous interaction ),pub/sub (Asynchronous interaction)

 

Data processing

CRUD.

 

Data transaction

ACID. Could use Saga and BASE in micro-service application.

Consistency Mechanism for Data Transaction Perspective

Run-time environment

Container first

 
Data StorePostgreSQL Standalone /PostgreSQL Cluster

Data Store Perspective

Design Recommendation
  • Technical architecture design needs to consider multiple perspectives.
  • Choose the right architecture  style for each perspective.
  • The technical architecture style can refer to the general selection of the domain to which the application belongs.
  • The baseline design can be done first, and the architecture  style selection of the architecture can be adjusted after the analysis of non-functional requirements.
本文地址
Tags
 
Article

微信

知识星球

微信公众号

视频号