In order to complete the tasks below, please fill the gaps code wise in the files given in the repository. Note: You can use any favorite editor or IDE to accomplish those tasks.
- Base image: Ubuntu 16.04 LTS
- SSH Server – expose port to external port 20022
- Add the CI's public ssh key (gitlab_id_rsa.pub) in addition to yours to the ssh server
- Ssh with public key should work
- Install memcached v1.4.33 (build from source)
- Expose ports for SSH Server and memcached (for other container)
- Run container as user Ubuntu (id=1000) instead of root
- Base image: Ubuntu 16.04 LTS
- SSH Server – expose port to external port 10022
- Add the CI's public ssh key (gitlab_id_rsa.pub) in addition to yours to the ssh server
- Ssh with public key should work
- Install memcached benchmark client (mcperf)
- Intstall Dude & R
- Run container as user Ubuntu (id=1000) instead of root
- Use Docker compose to get the communication between the containers running as well as the experiment.
dude run
:- ssh to the memcached server (container #1) to launch memcached
- Launch the benchmark client (locally - container #2)
- Grab the output from the benchmark client using cut etc. magic: "Response rate", "Response time [ms] avg" - Dude dimensions: rate
dude sum
: summarizes the output - single csv file- The plot the graphs
$ Rscript ….R
Test it using the following command sequence:
#!/bin/bash
sudo docker-compose up -d
ssh [email protected] -p 10022 "./run.sh"
scp -P 10022 [email protected]:~/graph*.pdf .
evince graph*.pdf
sudo docker-compose down
- Solutions must be turned in no later than Jan, 5th AoE - No late days or other excuses.
- Commit & PUSH!!! to your repository often before the deadline. Don't forget the push.
- No team work. We check for plagarism and will let you fail if there is an indication given.
- Ask questions at auditorium if there are any.
Add ssh-public-key contained in this repository!