Jenkins_HW3 - Crystal Jenkins 2965288 1. Why should a web...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Crystal Jenkins 2965288 1. Why should a web server not run as a single-threaded process? A web server should not run as a single-threaded process because web servers may have a lot of clients that maybe simultaneously accessing it. If a web server were to use a single-threaded process, a client would have to wait a very long time for the request to be serviced because of the many clients trying to access it, and it can only service one client at a time. 2. List the four major categories of the benefits of multithreaded programming. Briefly explain each. The four major categories of the benefits of multithreaded programming are responsiveness, resource sharing, economy, and scalability. Responsiveness – Multithreading an interactive application may allow a program to continue running even if part of it is blocked or is performing a lengthy operation, thereby increasing responsiveness to the user. For instance, a multithreaded Web browser could allow user interaction in one thread while an image was being loaded in another thread. Resource sharing – Process may only share resources through techniques
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 03/08/2012 for the course CGS 3269 taught by Professor Staff during the Fall '08 term at University of Central Florida.

Page1 / 2

Jenkins_HW3 - Crystal Jenkins 2965288 1. Why should a web...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online