The concepts of client-server design and concurrent servers, including programming assignments and discussions. Learn about the advantages and limitations of concurrent servers, how to handle client crashes, and the use of i/o multiplexing for solutions. Relevant for university students in computer science or related fields.
Download Basics & Solutions for Client-Server Design & Concurrent Servers and more Slides Computer Programming in PDF only on Docsity!
Week 8 Topics
Client-Server design
Concurrent server
Programming assignment 3 discussion
Client-server design alternatives
Server with multiplexed I/O
Preforked server
Client-Server design
Concurrent server
What happens to the client when the server crashes? - How can we make the client anticipate the problem? - example1a.c - The client has two places that can block – it may not be able to detect that something is wrong - Solution - I/O multiplexing – check the file descriptor before performing a blocking operation - Mechanism: select