平滑重启golang gRPC server,重启过程不丢流量。类似facebook的gracehttp
kill -SIGUSR2 pid
kill -9 pid
kill -SIGINT pid
kill -SIGTERM pid
cd example/server
go build
./server-demo
cd example/client
go build
./client-demo
kill -SIGUSR2 pid
Graceful restart & zero downtime deploy for Go gRPC servers.
平滑重启golang gRPC server,重启过程不丢流量。类似facebook的gracehttp
kill -SIGUSR2 pid
kill -9 pid
kill -SIGINT pid
kill -SIGTERM pid
cd example/server
go build
./server-demo
cd example/client
go build
./client-demo
kill -SIGUSR2 pid
Graceful restart & zero downtime deploy for Go gRPC servers.