[SOLVED] Network-Programming - Assignment 7

49.99 $

Category: Tags: , , ,
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon 7-threads-qegr7z.zip (25.7 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
πŸ”’ Securely Powered by:
Secure Checkout
5/5 - (2 votes)

Part 1
The threaded-db-server program that you wrote in the previous exercise distributes HTTP request handling across a variety of child processes. In this exercise, write a new version of the server called threaded-db-server which distributes its workload across a number of threads that you spawn. Experiment with Fortio to compare total requests/second throughput of your new server with that of your original server.
Acceptance Criteria
1. Your program must distribute the work across a number of child threads that it spawns. There must be some bound on the number of child processes that it forks – it is up to you to decide how to set that limit.
2. Your program must handle SIGTERM by shutting down all the threads that it has forked.

  • 7-threads-qegr7z.zip