Why grpc gateway does not call grpc callback directly? #952
Closed
Description
As I see, grpc gateway works as reverse proxy: it receives http request and calls grpc server via grpc dial to localhost (usually to localhost).
And I dont fully understand, why does it work so complex?
If it works http -> proto-request -> grpc -> grpc-callback
it theoretically can be simplified to http -> proto-request -> grpc-callback
.
I mean, if gateway converts http request to proto structure and calls grpc client, then we can call grpc server callback instead of the client part and avoid extra loop ;)
Metadata
Assignees
Labels
No labels