This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:buster-slim | |
RUN apt-get update -y && apt-get install -y \ | |
r-base \ | |
wget | |
RUN echo "R version is: $(R --version)" | |
RUN apt-get install -y \ | |
gdebi-core \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -c <num> -- number of connections to keep open | |
# -d <time> -- duration | |
# -t <num> -- number of threads to use | |
wrk -c 75 -d 10 -t 8 {url} | |
# -c <num> -- concurrent users | |
# -n <num> -- number of requests (length of the benchmark) | |
# -k -- keepalive (done by default by most browsers) | |
ab -c 75 -n 10000 {url} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# A script to backup the data and package lists on my Fedora system | |
# Must be run with root privileges! | |
set -e | |
set -o pipefail | |