Skip to content

Instantly share code, notes, and snippets.

View seifrajhi's full-sized avatar
🐳
Keep pushing ⚡️

Saifeddine Rajhi seifrajhi

🐳
Keep pushing ⚡️
View GitHub Profile
@seifrajhi
seifrajhi / self-signed-certificate-with-custom-ca.md
Created February 1, 2023 16:55 — forked from fntlnz/self-signed-certificate-with-custom-ca.md
Self Signed Certificate with Custom Root CA

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096

wrk is a modern HTTP benchmarking tool capable of generating significant load when run on a single multi-core CPU. It combines a multithreaded design with scalable event notification systems such as epoll and kqueue.

Basic Usage

wrk -t12 -c400 -d30s http://127.0.0.1:8080/index.html
@seifrajhi
seifrajhi / notes.txt
Created January 16, 2023 13:44 — forked from miguelmota/notes.txt
runc vs gvisor (runsc) vs rkt vs KataContainers vs NablaContainers
knowledge dump on container runtimes
KataContainers
- image coupled with kernel
- light vm layer
- can run in nested virturalization environments if hardware supports and you can enable it in bios (ex. only bare metal EC2 instances, limits many cloud providers)
- slower startup time
- OCI compliant
- previously known as ClearContainers by Intel