当前位置:网站首页>软件架构与设计(四)-----数据流架构
软件架构与设计(四)-----数据流架构
2022-07-15 17:33:00 【丨刘一丨】
数据流架构
在数据流架构中,整个软件系统被视为连续的一组或一组输入数据的变换,数据和操作彼此独立。在这种方法中,数据进入系统,然后一次一个地流过模块,直到它们被分配给某个最终目的地(输出或数据存储)。
组件或模块之间的连接可以实现为I / O流,I / O缓冲器,管道式或其他类型的连接。数据可以在具有循环的图形拓扑中以无循环的线性结构或树型结构流动。
这种方法的主要目标是实现重用和可修改性的质量。它适用于涉及有序定义的输入和输出(如编译器和业务数据处理应用程序)的明确定义的一系列独立数据转换或计算的应用程序。模块之间有三种类型的执行顺序 -
- 批次顺序
- 管道和过滤器或非顺序管道模式
- 过程控制
批次顺序
批次顺序是一种经典的数据处理模型,其中数据转换子系统只有在其先前的子系统完全通过之后才能启动其进程,
数据流从一个子系统到另一个子系统的整体数据。
模块之间的通信通过可以由连续子系统删除的临时中间文件进行。
它适用于批量数据的应用程序,每个子系统读取相关的输入文件并写入输出文件。
该架构的典型应用包括业务数据处理,如银行和公用事业计费。

优点
通常,批次顺序在子系统上提供更简单的划分。每个子系统可以是一个独立的程序,用于处理输入数据并产生输出数据。
缺点
边栏推荐
- How to use hhdbcs to debug polardb for PostgreSQL stored procedures?
- Cache penetration, cache avalanche, cache breakdown?
- OpenHarmony模块二下文件samgr_server解析(5)
- Using chardet to detect web page coding
- OpenHarmony模块二初分析
- MySQL 为什么临时表可以重名 ?
- Openharmony related knowledge learning
- Which futures account is the best in 2022? Is the account opening fee the lowest? Safest?
- Redis 分布式锁:从小白到大神方案都经历了什么?
- 客户端那些事儿(2)
猜你喜欢

李沐动手学深度学习V2-目标检测数据集

C language (high level) static address book

Queue(单项队列)和Deque(双端队列)的知识点整理

在创建生成WIFI二维码手机扫码链接

(high frequency interview questions) computer network

Pytorch中torch.numel(),torch.shape,torch.size()和torch.reshape()函数解析

Penetration test process

美团一面:为什么线程崩溃崩溃不会导致 JVM 崩溃?

consul启动闪退

Sorting out knowledge points of binarytree and heap
随机推荐
李沐动手学深度学习V2-目标检测SSD
汇编入门指南
我的一周年创作纪念日
Think of multithreading concurrency is guilty? Let's consolidate these basic knowledge of threading first!
Those things on the server side
OpenHarmony模块二下文件samgr_server解析(3)
Preliminary analysis of openharmony module II
Why can MySQL temporary tables have duplicate names?
会用redis吗?那还不快来了解下redis protocol
How to use hhdbcs to debug polardb for PostgreSQL stored procedures?
渗透测试流程
C language (high level) static address book
OpenHarmony模块二初分析
模块二interfaces下头文件解析(2)
Gift from JRockit: JMC virtual machine diagnostic tool
Pytorch中[:,None]的用法解析
客户端那些事儿(2)
Meituan's one-sided experience and detailed answers
mysql中出现Unit mysql.service could not be found 的解决方法
Pytorch中torch.max()函数解析