1 / 8

CS533 Concepts of Operating Systems Class 5

CS533 Concepts of Operating Systems Class 5. Event-Based Systems. Questions. Why does thread programming de-emphasize I/O? What do interactive applications, network services, and operating system kernels have in common? How does reactive programming relate to interrupt handling?

eldridgej
Download Presentation

CS533 Concepts of Operating Systems Class 5

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. CS533 Concepts of Operating SystemsClass 5 Event-Based Systems

  2. Questions • Why does thread programming de-emphasize I/O? • What do interactive applications, network services, and operating system kernels have in common? • How does reactive programming relate to interrupt handling? • Where is the boundary between interrupt handling and scheduled thread execution? • What are the implications of mixing these models? CS533 - Concepts of Operating Systems

  3. Questions • What is the problem with making resource allocation decisions statically? • What is the Slashdot effect? • Why is massive concurrency not a good match for multi-threading? • Is web service embarrassingly parallel? • What transparency is imposed by the thread-per request model? • Why does it hurt? • Why does the event handling model help? CS533 - Concepts of Operating Systems

  4. Questions • How can resources be scheduled in reactive programming? • What is the problem with event handlers blocking or performing long-lived computation? • What does it mean for a service to be “well conditioned”? CS533 - Concepts of Operating Systems

  5. Questions • What is a thread pool? • Why do the following techniques help during heavy load? • Thread pool resizing • Event batching • Adaptive load shedding • Why does pipeline parallelism scale well? • Thread per stage vs thread per request CS533 - Concepts of Operating Systems

  6. Questions • Do Ousterhout and Welsh contradict each other? • What is hard about programming threads? • What is easy about programming threads? • What is hard about programming events? • What is easy about programming events? CS533 - Concepts of Operating Systems

  7. Questions • What is the relationship between the event-loop model and reactive programming? CS533 - Concepts of Operating Systems

  8. Reminder • Class 6 presenters • Discuss your presentation plans with me ahead of time • Mail me the final version of your slides BEFORE the class CS533 - Concepts of Operating Systems

More Related