Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

general/drills: Add "Benchmarking Application" written task as exam #67

Merged
merged 1 commit into from
Mar 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -143,6 +143,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
Loading