✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Written 4: Organizing Servers
Preamble: A special OS is developed for client-server architectures, computers designed to handle many simultaneous requests from the internet. For example, the OS would provide system calls for listening to network requests and provide convenience features to utilize very powerful server hardware the OS would be installed on. The goal is to allow for the management of thousands of requests per second. Programmers can then develop specific programs to handled an process these requests. For example, Whether-A-Wombat mentioned in Unit 2 could benefit from such a service in receiving and processing requests for machine learning applied on images.
Part A (17 marks): Compare and contrast how a programmer would prevent deadlock in system programs versus user programs for this server-based OS.Which of the deadlock approaches would you use for both cases? Suggested Length: 3-4 Sentences.
For Part B (18 marks): Answer exactly one of the following prompts. Please don't answer more than one! Also, clearly indicate which one you are answering.
Alternative Choice B.1: Discuss how multithreading and synchronization is used in this set-up. Suggested Length: 3-4 Sentences.
Alternative Choice B.2: Respond to the following: this server should use hardware-based synchronization solutions rather than software based because hardware based is faster. Suggested Length: 3-4 Sentences.
Alternative Choice B.3: How would Unit 5A or 5B topics be important in this scenario? Suggested Length: 3-4 Sentences. You should mention at least two technical topics.