Skip to content

choewy/r-u-dead-yet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

R U Dead Yet?

Clone

python3 -m venv .venv

source .venv/bin/activate

pip3 install -r requirements.txt

RUDY

usage: main.py [-h] [-s SOCKETS] [-t TIME] [-b BYTES] [-l LENGTH] url

positional arguments:
  url                   URL i.e [http[s]://]host[:port][path]

options:
  -h, --help            show this help message and exit
  -s SOCKETS, --sockets SOCKETS
                        Socket connection count(Default : 150)
  -t TIME, --time TIME  KeepAlive Timeout(Default : 10)
  -b BYTES, --bytes BYTES
                        Byte Length of sent per time(Default : 1)
  -l LENGTH, --length LENGTH
                        HTTP POST Content-Length(Default : 64)

for Example

python3 main.py http://localhost:3000 -t 10

Test Servers

Run Express with Docker

  • version: Node 20
  • keepAliveTimeout: 10s
  • maxConnections: 10
  • port: args(default 3000)
cd servers/express

sh docker.sh [port]

Run Nest with Docker

  • version: Node 20
  • keepAliveTimeout: 10s
  • maxConnections: 10
  • port: args(default 3000)
cd servers/nest

sh docker.sh [port]

Run Flask with Docker

  • version: Python 11
  • port: args(default 3000)
  • processes: 1
  • threads: not use
cd servers/flask

sh docker.sh [port]

Run SpringBoot With Docker

  • version: openjdk-17
  • build: gradle
  • port: args(default 3000)
  • threads: 10
cd servers/spring-boot

sh docker.sh [port]