Edited at

Go Conference 2018 Autumn 参加メモ

https://gocon.jp/


OpenCensus による APM の実現と、未来

OpenCensus


  • OpenCensusのこれから


    • OpenCensusServiceによるexpoerterの分離

    • Logging Support



コードベースと基盤の依存を減らすAPMの実現が可能

ベンダーに依存しない実装により、

APMはさらなるecosystemの成長を遂げるだろう


Profiling Go Application

https://speakerdeck.com/orisano/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

https://speakerdeck.com/timakin/golang-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

https://github.com/lestrrat-go/openapi/tree/master/cmd/oalint


Consider pluggable CLI tool implementation

https://speakerdeck.com/izumin5210/consider-pluggable-cli-tool-implementation-number-gocon

https://github.com/izumin5210/grapi


フィードバック制御による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


Practical Go Concurrency Design Patterns

https://speakerdeck.com/moriyoshi/not-very-practical-concurrent-design-patterns-in-go


Pains and gains of architecting microservices on local dev environment

https://github.com/wantedly/rid