1 / 19
文档名称:

NAD-chapter4-6.pdf

格式:pdf   页数:19
下载后只包含 1 个 PDF 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

NAD-chapter4-6.pdf

上传人:中国课件站 2011/9/6 文件大小:0 KB

下载得到文件列表

NAD-chapter4-6.pdf

文档介绍

文档介绍:Chapter 4: Server Software Design Chapter 4: Server Software Design
Chapter goal: Chapter goal:
„ Algorithm and issues „ Algorithm and issues
„ Iterative servers „ Iterative servers
„ Concurrent, connection-oriented „ Concurrent, connection-oriented
servers servers
„ Singly-threaded, concurrent „ Singly-threaded, concurrent
servers servers
„ Multiprotocol servers „ Multiprotocol servers
„ Multiservice servers „ Multiservice servers
„ Uniform, efficient management „ Uniform, efficient management
of server concurrency of server concurrency
哈工大计算机学院 work Application Development Server Software Design 1 哈工大计算机学院 work Application Development Server Software Design 2
Concurrent vs. Iterative
The conceptual server algorithm Servers
„ Each server follows a simple algorithm: „ Iterative server
„ Creates a socket „ Process one request at a time
„ Binds port „ Unnecessary delays
„ Enters infinite loop „ Easier to build
„ Accepts request „ Poor performance
„ Processes request „ Concurrent server
„ Responses „ Handles multiple requests at one time
„ But only suffices for only the most trivial „ More difficult to design and build
services „ Better performance
哈工大计算机学院 work Application Development Server Software Design 3 哈工大计算机学院 work Application Development Server Software Design 4
Connection-oriented vs. Connection-oriented vs.
Connectionless Servers Connectionless Servers
„ Depend on the application protocol „ Connectionless servers
„ Connection-oriented servers „ Advantages:
„ Do not suffer from the problem of resource
„ Advantages:
depletion
„ Ease of programming
„ Can supply broadcast or munication
„ TCP provides reliability
„ Disadvantages:
„ Disadvantages:
„ Can not depend on underlying transport for
„ Require a separate socket for each connection reliable delivery
„ Overhead of 3-way handshaking
„ Application protocols respond for reliability
„ TCP does not send any packets over an idl

最近更新

航空公司品牌形象与消费者认知 38页

网络广告效果预测方法 37页

2024年安阳职业技术学院单招职业倾向性考试模.. 39页

2024年宝鸡三和职业学院单招职业倾向性测试题.. 38页

2024年山东劳动职业技术学院单招职业倾向性考.. 39页

2024年山东外事职业大学单招综合素质考试题库.. 39页

2024年山东服装职业学院单招职业技能考试模拟.. 39页

2024年山东省聊城市单招职业适应性测试题库及.. 42页

2024年山东艺术设计职业学院单招职业适应性测.. 41页

2024年山西林业职业技术学院单招职业适应性考.. 39页

2024年山西省朔州市单招职业适应性测试题库含.. 40页

2024年山西金融职业学院单招综合素质考试题库.. 39页

2024年常州机电职业技术学院单招职业倾向性测.. 41页

2024年广东工贸职业技术学院单招职业倾向性测.. 41页

2024年广东省肇庆市单招职业适应性测试题库及.. 41页

2024年广东茂名农林科技职业学院单招职业技能.. 38页

2024年广州体育职业技术学院单招职业倾向性测.. 42页

2024年广州番禺职业技术学院单招职业适应性测.. 40页

2024年广西农业职业技术大学单招职业倾向性测.. 40页

2024年广西电力职业技术学院单招职业适应性考.. 41页

2024年开封职业学院单招职业倾向性测试模拟测.. 40页

2024年德宏职业学院单招职业技能考试模拟测试.. 40页

2024年忻州职业技术学院单招职业倾向性测试题.. 40页

2024年惠州工程职业学院单招职业技能考试模拟.. 40页

2024年成都职业技术学院单招职业技能考试模拟.. 40页

2024年扬州市职业大学单招职业倾向性考试题库.. 40页

2025年重庆市《保安员证》考试题库含答案 39页

混凝土工程培训课件优秀PPT 26页

小学数学六年级下册《鸽巢问题》作业设计 9页

国开《建筑力学》期末机考答案 15页