Sign inSign up

jinwoo794533/stress-gin

By jinwoo794533

•Updated about 3 years ago

Image
0

279

jinwoo794533/stress-gin repository overview

⁠stress-gin

You could use image for testing availablity (ex. place on the k8s behind the LoadBalancer, and request to LB. It'll good to test your infrastructures.)

It also supports arm64, amd64.

There are three apis

  • /health

    • It responses '{"status":"OK"}' always.
  • /random

    • It resopnses '{"status":"OK"}' always with randomly time after(max is 40s).
  • /v1/stress

    • It responses '{"status":"OK"}' always with running stress code.(below is stress code)

go func() { for i := 0; i < 1000000; i++ { _ = i * i } }()

Tag summary

Content type

Image

Digest

sha256:689680099…

Size

5.2 MB

Last updated

about 3 years ago

docker pull jinwoo794533/stress-gin