Skip to content

Why grpc gateway does not call grpc callback directly? #952

Closed
@eyudkin

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions