Skip to content

Commit

Permalink
general/drills: Add "Benchmarking Application" written task as exam
Browse files Browse the repository at this point in the history
Add Markdown file storing the question scenario and the questions
Modify config.yaml to render the new task

Signed-off-by: Petru-Vlad Ionescu <[email protected]>
  • Loading branch information
vladiouz authored and teodutu committed Mar 17, 2024
1 parent c58a60b commit 04c01ca
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
44 changes: 44 additions & 0 deletions chapters/general/drills/tasks/benchmarking-application.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Benchmarking Application

## Scenario

We aim to implement a web application benchmarking solution.
This application will perform web client actions towards a remote web application to obtain metrics such as response time, scalability (how response time degrades with the number of simultaneous connections to the application), with variations for request or response size.

Answer the following questions with "True" or "False" and justify the answer.
Justification should be simple, 2-3 sentences for each answer.

## Questions

1. The benchmarking application uses network sockets.
Answer: True

1. The benchmarking application is required to be multi-threaded.
Answer: False

1. The benchmarking application has more voluntary context switches than involuntary ones.
Answer: True

1. The benchmarking application must run as a privileged user.
Answer: False

1. Two benchmarking applications can run simultaneously on the same system.
Answer: True

1. The benchmarking application heavily uses the system's disk/storage.
Answer: False

1. The benchmarking application must be implemented in a compiled language, not an interpreted one.
Answer: False

1. The benchmarking application can be implemented as a static executable.
Answer: True

1. Running the benchmarking application on the same station as the web application provides better results than remote testing.
Answer: True

1. With the necessary modifications, the application can handle both HTTP and HTTPS connections.
Answer: True

1. The benchmarking application can only measure open-source web applications + open-source web servers (with available sources).
Answer: False
1 change: 1 addition & 0 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ docusaurus:
subsections:
- Digital Forensics/: digital-forensics.md
- Distributed System/: distributed-system.md
- Benchmarking Application/: benchmarking-application.md
- Hackathons:
path: content/assignments
subsections:
Expand Down

0 comments on commit 04c01ca

Please sign in to comment.