Hotchocolate: gRPC Support with .net core 3.0

Created on 27 Feb 2019  路  8Comments  路  Source: ChilliCream/hotchocolate

馃尪 hot chocolate 馃帀 enhancement

Most helpful comment

HotChocolate.AspNetCore.Grpc

All 8 comments

Hi, gRPC transport would be great as an add-on to Websockets, since gRPC is primarily designed for the HTTP2 protocol with the possibility of using multiplexing for multiple requests at the same time over one open client / server connection.
At the same time, for example, in a web project, it is not necessary to use another transport for GraphQL and another for realtime communication, unless I want to use Websockets technology or other fallback.

We are currently addressing this question for one project that has a global scale and is most concerned about latency + DNS + TLS + HTTP overhead for each request / response. This will be solved just by the grpc-web technology, which is not 100% ready over the full HTTP2 protocol, but this will be solved over time and currently limiting the streaming only from the server is enough for us.

Look here for some implementations:

Thank you for your time and your work.

@jurby thanks for your input. We will look into this for version 12.

@jurby thanks for your input. We will look into this for version 12.

Thank you for your answer. It will be great. I will try to direct the use of grpc / grpc-web in the project that it would be made public as an extension eg HotChocolate.AspNetCore.Grpc or HotChocolate.Grpc. Would this namespace be suitable?

HotChocolate.AspNetCore.Grpc

@michaelstaib Created draft for grpc support in project https://github.com/ChilliCream/hotchocolate/pull/1122. Please check if it's ok.

@michaelstaib
I think this will be a killer feature. grpc requires protobuf implementation. I believe the following library may help develop this feature faster:
https://github.com/protobuf-net/protobuf-net

Was this page helpful?
0 / 5 - 0 ratings

Related issues

RohrerF picture RohrerF  路  3Comments

louisjrdev picture louisjrdev  路  3Comments

acelot picture acelot  路  4Comments

benmccallum picture benmccallum  路  3Comments

IKolosynskyi picture IKolosynskyi  路  3Comments