romanyx / places

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

places

test

make test

linter

make linter

run

  • start docker-compose
make start
  • make test request
curl -X GET "http://localhost:8080/places?term=Moscow&locale=en&types%5B%5D=airport&types%5B%5D=city"

profiling

go tool pprof http://localhost:1234/debug/pprof/allocs

make load

hey -n 1000 -c 8 -m GET "http://localhost:8080/places?term=Moscow&locale=en&types%5B%5D=airport&types%5B%5D=city"

traces

visit: http://localhost:16686

metrics

visit: http://localhost:9090

health checks

  1. visit: http://localhost:8081/live
  2. visit: http://localhost:8081/ready

About


Languages

Language:Go 98.5%Language:Dockerfile 1.1%Language:Makefile 0.4%