APP架构一般性分类
Posted 一路强大
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了APP架构一般性分类相关的知识,希望对你有一定的参考价值。
参照:Architecture styles - Azure Application Architecture Guide | Microsoft Learn
应用APP架构通常分为
- N-tier
- Web-Queue-Worker
- Micrososervices
- Event-driven architecture
- Big Data, Big Compute
具体的topology结构,可以看网页的不同图实例。
优缺点如下
Architecture style | Dependency management | Domain type |
---|---|---|
N-tier | Horizontal tiers divided by subnet | Traditional business domain. Frequency of updates is low. |
Web-queue-worker | Front and backend jobs, decoupled by async messaging. | Relatively simple domain with some resource intensive tasks. |
Microservices | Vertically (functionally) decomposed services that call each other through APIs. | Complicated domain. Frequent updates. |
Event-driven architecture | Producer/consumer. Independent view per sub-system. | IoT and real-time systems. |
Big data | Divide a huge dataset into small chunks. Parallel processing on local datasets. | Batch and real-time data analysis. Predictive analysis using ML. |
Big compute | Data allocation to thousands of cores. | Compute intensive domains such as simulation. |
以上是关于APP架构一般性分类的主要内容,如果未能解决你的问题,请参考以下文章