PA #4
Purpose
To demonstrate the skills of developing HTTP server and its deploy in Docker container
Requirements
- Branch out from branchAutoTest and create branch named branchHTTPserver. Implement an HTTP server that handles GET request. Reuse your class for calculating trigonometric function from PA#3 as a payload. Prepare an array of values calculated by your function and sort this array in ascending manner. Return elapsed time in body response. The number of array elements / number of sorting cycles should result in calculation time taking approximately 10 seconds on your CPU. Update the unit test to check that calculation time is within 5 to 20 seconds.
- Prepare a Dockerfile that includes and launches your HTTP server.
- Register an account at docker hub. Push your image to docker hub.
Presentation
- Submit a link to github repo and a string to pull your docker image from docker hub through this form.
Assessment
8 points maximum

Comments
Post a Comment