icetech233
icetech233
> (4+4+4+4) 这四个4指的是长度的长度, > > 下面红框的长度和 > >  > > > ctx context.Context 里面的数据,是放在 metadata 里面的吗? > > 是。 > > 等我这周写一篇文章,画一个更清晰的图。 > > > 是不是别的语言客户端 tcp 请求 这个报文也能正确的相应啊!...
zerolog is best
> @icetech233 would love to hear more on this. Why do you think zerolog is best? the most fast
> zerolog Benchmarks https://github.com/rs/zerolog
gorilla/mux r.Host("{subdomain:[a-z]+}.example.com")
r.HandleFunc("/products", ProductsHandler). Host("www.example.com"). Methods("GET"). Schemes("http")
> ```go > package main > > import ( > "net/http" > > "github.com/gin-gonic/gin" > ) > > func main() { > r := gin.Default() > api := r.Group("/api") >...
> > > ```go > > > package main > > > > > > import ( > > > "net/http" > > > > > > "github.com/gin-gonic/gin" > >...
> 目前注册大多数服务注册时都使用同一个地址,同一个地址的服务没必要注册多次地址,如果服务较多时,如果有很多client请求时会对etcd等服务发现的程序造成较大压力 这个可以sync pool的, etcd的cpu 压力瞬间小了
bug the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion