1 / 5

Advanced UNIX programming

Advanced UNIX programming. Fall 2002 Instructor: Ashok Srinivasan Lecture 22. Acknowledgements: The syllabus and power point presentations are modified versions of those by T. Baker and X. Yuan. Announcements. Reading assignment Chapter 27 Sections 27.1 and 27.2 Section 27.6 Chapter 7

aisha
Télécharger la présentation

Advanced UNIX programming

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Advanced UNIX programming Fall 2002 Instructor: Ashok Srinivasan Lecture 22 Acknowledgements: The syllabus and power point presentations are modified versions of those by T. Baker and X. Yuan

  2. Announcements • Reading assignment • Chapter 27 • Sections 27.1 and 27.2 • Section 27.6 • Chapter 7 • Sections 7.1 – 7.6 and 7.9 – 7.11 • Project will be announced today • Quiz Monday

  3. Week 8 Topics • Client-Server design • Concurrent server • Programming assignment 3 discussion • Client-server design alternatives • Server with multiplexed I/O • Preforked server

  4. Client-server design alternatives • Server with multiplexed I/O • Preforked server

  5. Preforked server • Main limitation of concurrent server • fork overhead • Instead, prefork N processes and use them forever • See example1.c and example2.c

More Related