Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rfyiamcool/grpc-client-pool

grpc client pool for grpc-sidecar and grpc-proxy.
https://github.com/rfyiamcool/grpc-client-pool

golang grpc grpc-client grpc-client-connection-pool grpc-client-pool grpc-pool

Last synced: 3 months ago
JSON representation

grpc client pool for grpc-sidecar and grpc-proxy.

Awesome Lists containing this project

README

        

# grpc-client-pool

grpc-client-pool's scenes are mainly about grpc-sidecar and grpc-proxy !

## desc

Each grpc request contains PATH in http2 header, the path is fullMethod.

**what is fullMethod ?**

```
/api.v1.election.CandidateSvc/Register
```

**what is serviceName ?**

```
/api.v1.election.CandidateSvc
```

**what is methodName ?**

```
/Register
```

## process

1. init grpc client pool
2. get grpc-client by grpc fullMethod/serviceName
3. use gprc invoke request/response.