vegeta

Vegetaで負荷試験シナリオを作る(初歩)

パクリ元 rarejob-tech-dept.hatenablog.com 基本的にここのパクリ 実装 main.go package main import ( "context" "encoding/json" "flag" "os" "sync" "time" log "github.com/sirupsen/logrus" vegeta "github.com/tsenart/vegeta/lib" "github.com/hogeh…

Vegeta触ってみる

Vegeta golang 用の負荷試験ツール github.com Install ╰─$ brew update && brew install vegeta Run 10request/sec を 5秒間行う ╰─$ echo "GET https://hogehoge.com" | vegeta attack -rate=10 -duration=5s | tee result.bin Result ╰─$ vegeta report r…