Skip to content

110y/grpc-go-connection-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo

grpc-go v1.41.0

> make up
> make show-caller-channel

ID	Name        	State	Channel	SubChannel	Calls	Success	Fail	LastCall
1	callee:5001 	READY	0      	1         	0     	0     	0     	none

> docker compose stop callee
> make show-caller-channel

ID	Name        	State	Channel	SubChannel	Calls	Success	Fail	LastCall
1	callee:5001 	IDLE	0      	1         	0     	0     	0     	none

> docker compose up --detach callee
> make show-caller-channel

ID	Name        	State	Channel	SubChannel	Calls	Success	Fail	LastCall
1	callee:5001 	IDLE	0      	1         	0     	0     	0     	none

grpc-go v1.40.0

  • need to execute go get google.golang.org/grpc@v1.40.0
> make up
> make show-caller-channel

ID	Name        	State	Channel	SubChannel	Calls	Success	Fail	LastCall
1	callee:5001 	READY	0      	1         	0     	0     	0     	none

> docker compose stop callee
> make show-caller-channel

ID	Name        	State	            Channel	SubChannel	Calls	Success	Fail	LastCall
1	callee:5001 	TRANSIENT_FAILURE	0      	1         	0     	0     	0     	none

> docker compose up --detach callee
> make show-caller-channel

ID	Name        	State	Channel	SubChannel	Calls	Success	Fail	LastCall
1	callee:5001 	READY	0      	1         	0     	0     	0     	none

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published