OpenCensus による APM の実現と、未来
- OpenCensusのこれから
- OpenCensusServiceによるexpoerterの分離
- Logging Support
コードベースと基盤の依存を減らすAPMの実現が可能
ベンダーに依存しない実装により、
APMはさらなるecosystemの成長を遂げるだろう
Profiling Go Application
https://godoc.org/golang.org/x/tools/cmd/benchcmp
https://godoc.org/golang.org/x/perf/cmd/benchstat
Cliなら pkg/profile
Serverなら net/http/prof
uber/go-torch,flamegraph,flamescopeしたり
API Testing the Hard Way
Linting, Slicing, and Dicing OpenAPI documents
https://www.slideshare.net/lestrrat/slicing-dicing-and-linting-openapi
https://github.com/lestrrat-go/openapi
OpenAPI v2 (Swagger)
OpenAPi v3
使わない機能がたくさん
Goal
Use Cloud Endpoint (GCP)
Generate gRPC server/client
Generate ES6/Golang REST client
Write definitions in ONE file
Grips
https://github.com/NYTimes/openapi2proto
https://github.com/go-openapi/spec
Consider pluggable CLI tool implementation
https://speakerdeck.com/izumin5210/consider-pluggable-cli-tool-implementation-number-gocon
https://github.com/izumin5210/grapi
- 体験の良いツール
- Rails
- create-react-app
- Golangで実装しやすそうなツール
- protoc
- Terraform https://github.com/hashicorp/terraform/tree/master/plugin
- kubectl
- SQLBoiler https://github.com/izumin5210/gex
フィードバック制御によるGoroutine起動数の最適化
https://speakerdeck.com/monochromegane/optimization-of-goroutine-numbers-by-feedback-control
最適な並行数を求めたい
Kaburayaアーキテクチャ https://github.com/monochromegane/kaburaya
PID制御
* 比例制御
* 積分制御
* 微分制御
https://speakerdeck.com/monochromegane/wsa-3-kaburaya
https://github.com/npat-efault/musings/wiki/Elastic-channels