Graphql-engine: Implement protobuf and/or grpc output

Created on 16 Feb 2020  路  4Comments  路  Source: hasura/graphql-engine

Hello,
Is it possible to implement protobuf and/or grpc for output (in addition of JSON) ?
It'll be preferable for an usage between microservices in-place of JSON which is more big slow.
Regards

docs:

ideas

Most helpful comment

This would be a very welcome addition. Since Actions & Events are machine-to-machine calls anyways, having a machine-focused protocol would improve correctness (via typing), performance and security.

All 4 comments

@dquesada @dmi3y

Any ETA ?

This would be a very welcome addition. Since Actions & Events are machine-to-machine calls anyways, having a machine-focused protocol would improve correctness (via typing), performance and security.

I removed graphql-engine from production due to the lack of news, I prefer to use things that progress/evolve about production and security.
Using binary format, you save money about bandwidth too and I refused to use a lot of steps like binary -> json and json -> binary depending on where I used graphql-engine.
If they implement a day protobuf/grpc/flexbuffer/avro, maybe I'll come back but at this time, I've no more time and money to lose.

Was this page helpful?
0 / 5 - 0 ratings