1 / 111
文档名称:

NAD-chapter4.pdf

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

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

NAD-chapter4.pdf

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

下载得到文件列表

NAD-chapter4.pdf

文档介绍

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

最近更新

2024年厦门兴才职业技术学院单招职业适应性考.. 43页

2024年厦门南洋职业学院单招职业技能考试题库.. 42页

2024年台州学院单招职业倾向性考试模拟测试卷.. 40页

2024年合肥通用职业技术学院单招职业适应性测.. 40页

2024年吉林交通职业技术学院单招职业适应性测.. 39页

2024年吉林工业职业技术学院单招职业技能考试.. 40页

2024年吉林电子信息职业技术学院单招职业倾向.. 40页

高速切削中刀具磨损机理 24页

2024年吉林职业技术学院单招职业技能考试题库.. 40页

2024年吐鲁番职业技术学院单招职业技能考试题.. 40页

2024年周口理工职业学院单招职业技能测试模拟.. 40页

2024年呼和浩特职业学院单招职业技能测试模拟.. 39页

2024年哈尔滨城市职业学院单招综合素质考试题.. 40页

2024年哈尔滨职业技术学院单招职业适应性测试.. 40页

肝脂肪变性动物模型建立 35页

胃复安疗效评估 35页

2024年四川三河职业学院单招职业适应性测试题.. 40页

2024年四川体育职业学院单招职业适应性考试模.. 42页

2024年四川华新现代职业学院单招职业适应性考.. 40页

2024年四川工业科技学院单招职业适应性测试模.. 41页

2026年企业规章制度与公司管理 35页

2024年四川文轩职业学院单招职业倾向性考试题.. 40页

2024年四川电子机械职业技术学院单招综合素质.. 40页

2024年四川航天职业技术学院单招职业倾向性测.. 40页

2024年四川西南航空职业学院单招职业适应性考.. 40页

2024年四川长江职业学院单招职业倾向性测试模.. 41页

2024年塔城职业技术学院单招职业适应性考试题.. 42页

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

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

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