Browse Source

Add CSV headers + README.md

main
Quentin 6 months ago
parent
commit
cf89cb1aee
Signed by: quentin GPG Key ID: A98E9B769E4FF428
  1. 31
      README.md
  2. 1
      main.go

31
README.md

@ -0,0 +1,31 @@
# s3lat
## installation
```bash
go get git.deuxfleurs.fr/quentin/s3lat@latest
```
## usage
with minio:
```
export ENDPOINT=[fc00:9a7a:9e::1]:9000
export AWS_ACCESS_KEY_ID=minioadmin
export AWS_SECRET_ACCESS_KEY=minioadmin
mc alias set minio-bench http://$ENDPOINT $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY
mc mb minio-bench/bench1
s3lat
```
## todo
create bucket from s3lat
## see also
- https://git.deuxfleurs.fr/quentin/benchmarks
- https://git.deuxfleurs.fr/trinity-1686a/mknet

1
main.go

@ -23,6 +23,7 @@ import (
func main() {
fmt.Printf("op,latency\n")
_, isSSL := os.LookupEnv("SSL");
opts := minio.Options {
Creds: credentials.NewStaticV4(os.Getenv("AWS_ACCESS_KEY_ID"), os.Getenv("AWS_SECRET_ACCESS_KEY"), ""),

Loading…
Cancel
Save