当前位置:网站首页>c/s 架构
c/s 架构
2022-06-27 11:16:00 【Luckly Sister】
C/S架构是客户端/服务器体系结构,其中客户端依靠服务器来获取资源,C/S架构通过提供查询响应来减少网络流量。
在C/S结构中有传统的两层结构和新型的三层结构之分
两层结构的处理流程可表示为:
两层网络计算模式=多Client+单/多Data Server+动态计算
两层结构的应用软件模型可表示为:

这是一种“胖客户机(Fat Client)”、“瘦服务器(Thin Server)”的网络结构模式
C/S架构软件有一个特点,就是如果用户要使用的话,需要下载一个客户端,安装后就可以使用。比如QQ,OFFICE软件等。
1、C/S架构的优点:
1 C/S架构的界面和操作可以很丰富。(客户端操作界面可以随意排列,满足客户的需要)
2 安全性能可以很容易保证。(因为只有两层的传输,而不是中间有很多层。
3 由于只有一层交互,因此响应速度较快。(直接相连,中间没有什么阻隔或岔路,比如QQ,每天那么多人在线,也不觉得慢)
2、C/S架构的缺点:
可以将QQ作为类比:
1 适用面窄,通常用于局域网中。
2 用户群固定。由于程序需要安装才可使用,因此不适合面向一些不可知的用户。
3 维护成本高,发生一次升级,则所有客户端的程序都需要改变。
目前最流行的多层模式是三层结构,其处理流程可表示为:
三层网络计算模式=多浏览器+单Web服务器+多数据服务器+动态计算
三层结构的应用软件模型可表示为:

这是一种“瘦客户机(Thin Client)”网络结构模式
边栏推荐
- Jerry's seamless looping [chapter]
- 杰理之添加定时器中断【篇】
- Interview shock 60: what will cause MySQL index invalidation?
- matlab习题 —— 创建 50 行 50 列全零矩阵、全 1 矩阵、单位矩阵、对角矩阵,输出矩阵第135号元素。
- 【TcaplusDB知识库】TcaplusDB运维单据介绍
- Write it down once Net analysis of a property management background service stuck
- “全班29人24人成功读研”冲上热搜!剩下的5个人去哪了?
- 等等, 怎么使用 SetMemoryLimit?
- Codeforces Round #786 (Div. 3) ABCDE
- 杰理之DAC输出方式设置【篇】
猜你喜欢

Go zero micro Service Practice Series (VII. How to optimize such a high demand)
![[tcapulusdb knowledge base] tcapulusdb doc acceptance - create business introduction](/img/a4/c3255ce17516348f703f7f21511555.png)
[tcapulusdb knowledge base] tcapulusdb doc acceptance - create business introduction

【TcaplusDB知识库】TcaplusDB-tcaplusadmin工具介绍

政策关注 | 加快构建数据基础制度,维护国家数据安全

干货!零售业智能化管理会遇到哪些问题?看懂这篇文章就够了
![[tcapulusdb knowledge base] Introduction to tmonitor stand-alone installation guidelines (I)](/img/74/a645742a8e135b32154859be956760.png)
[tcapulusdb knowledge base] Introduction to tmonitor stand-alone installation guidelines (I)

【TcaplusDB知识库】Tmonitor系统升级介绍

15+城市道路要素分割应用,用这一个分割模型就够了!

AutoCAD - three pruning methods

"Internet +" contest topic hot docking | I figure to understand 38 propositions of Baidu
随机推荐
力扣(LeetCode)177. 第N高的薪水(2022.06.26)
[tcapulusdb knowledge base] Introduction to tcapulusdb table data caching
ECMAScript 6(es6)
Popular science of device review: popular science of innovative medical device series - sternum plate products
Jerry's DAC output mode setting [chapter]
Unity shader learning (I) understanding the basic structure of unity shader
[tcapulusdb knowledge base] Introduction to tcapulusdb analytical text export
【值得收藏】Centos7 安装mysql完整操作命令
飞桨产业级开源模型库:加速企业AI任务开发与应用
deep learning statistical arbitrage
20 jeunes Pi recrutés par l'Institut de microbiologie de l'Académie chinoise des sciences, 2 millions de frais d'établissement et 10 millions de fonds de démarrage (à long terme)
15+ urban road element segmentation application, this segmentation model is enough!
等等, 怎么使用 SetMemoryLimit?
Deep understanding of happens before principle
Llvm family (1) - Introduction to llvm
[tcapulusdb knowledge base] Introduction to tcapulusdb system management
0 basic understanding of how e-commerce systems connect with payment channels
QStyle类用法总结(三)
[tcapulusdb knowledge base] Introduction to tcapulusdb data import
Metadata of database