repeat await request from client c for file f establish connection to c open f repeat for each sector of f send the sector over the connection to c until all sectors sent terminate connection to c foreverAssume that the host system for this server has the usual features of a good modern operating system such as a file system, a disk scheduler, caching of frequently referenced disk sectors in RAM, etc.
Part B: Show how to obtain this improved performance by redesigning the web server using appropriate thread primitives.
Part C: Assume that your design is deluged with thousands of requests from far away users. What effect does this have on: 1) the time it takes to get the first sector of each user's file back to that user, and 2) the time it takes to give each user the entire file. If you limited the number of concurrent threads in your solution to part B, how would this change your answers above?
Part B: Briefly characterize applications that would work best with each of the above alternatives.