k8s limits 资源限制

Posted by 夏泽民

requests:资源请求,表示需要多少资源。 limits: 资源限制,表示最多可以使用多少资源。



jwt-go

Posted by 夏泽民

https://github.com/dgrijalva/jwt-go



ip 伪造

Posted by 夏泽民

由于TCP需要三次握手连接,在实现正常的TCP/IP 双方通信情况下,是无法伪造来源 IP 的,也就是说,在 TCP/IP 协议中,可以伪造数据包来源 IP ,但这会让发送出去的数据包有去无回,无法实现正常的通信。



k8s health check

Posted by 夏泽民

https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/ 协议 https://github.com/grpc/grpc-proto/blob/master/grpc/health/v1/health.proto https://github.com/grpc/grpc/blob/v1.15.0/doc/health-checking.md https://github.com/grpc-ecosystem/grpc-health-probe/ https://github.com/grpc/grpc-proto/blob/master/grpc/health/v1/health.proto



h2c h2 HTTP/2 的协议协商机制

Posted by 夏泽民

Go的http/2使用也非常简单,但是必须和TLS一起使用。 “golang.org/x/net/http2”



Search

Popular posts

Anything in here will be replaced on browsers that support the canvas element

Recent posts

This blog is maintained by 夏泽民

Get in touch with me at 465474307@qq.com

Subscribe to our mailing list

* indicates required