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 styleDependency managementDomain type
N-tierHorizontal tiers divided by subnetTraditional business domain. Frequency of updates is low.
Web-queue-workerFront and backend jobs, decoupled by async messaging.Relatively simple domain with some resource intensive tasks.
MicroservicesVertically (functionally) decomposed services that call each other through APIs.Complicated domain. Frequent updates.
Event-driven architectureProducer/consumer. Independent view per sub-system.IoT and real-time systems.
Big dataDivide a huge dataset into small chunks. Parallel processing on local datasets.Batch and real-time data analysis. Predictive analysis using ML.
Big computeData allocation to thousands of cores.Compute intensive domains such as simulation.

以上是关于APP架构一般性分类的主要内容,如果未能解决你的问题,请参考以下文章

如何设计app的架构

启迪云谈 | 虚拟化技术分类

常见文本分类模型

APP架构设计

uni-app中应用vuex示例

APP架构设计