Skip to content

A Spring Boot application designed ta test a cluster, mocking memory, cpu, auto-kill, etc. behaviors

License

Notifications You must be signed in to change notification settings

fdaugan/meeseeks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Meeseeks (simple tasks!)

A Spring Boot application designed to test a container by simulating memory, CPU, kill, etc. behaviors

Build with Docker builder

docker build -t "fabdouglas/meeseeks:1.0.0" -f Dockerfile.build .

Build with Maven

mvn clean package -B -q -Dmaven.test.skip=true
docker build -t "fabdouglas/meeseeks:1.0.0" .

Run

docker run --rm -d --name meeseeks -p 8080:8080 -p 9010:9010 fabdouglas/meeseeks:1.0.0

Simple tasks

All tasks use GET and have default values when parameters are not provided.

Echo /api/echo?m=Hello
Sleep a thread /api/kill?millis=1000
100% CPU a thread /api/cpu?millis=1000
1M of Memory a thread /api/mem?millis=1000&nb_kilobytes=1000
Counter in the context /api/counter
Counter in the JVM /api/counter-static
Restart context /api/restart
Exit /api/kill?code=1
Open a file and keep the handle /api/file-open?files=1024
Close and release one opened file /api/file-close?files=1024

Endpoints

API
Swagger
Health
Info (includes git and meven versions)
Heapdump
Metrics : Threads Memory Memory Committed Start Other features

(...)

About

A Spring Boot application designed ta test a cluster, mocking memory, cpu, auto-kill, etc. behaviors

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published