3 ms·
What are some production ready alternatives to gRPC that have both a pleasant developer experience and great performance? Apache Avro? Apache Thrift?
by ampdepolymerase 6y ago
What are some production ready alternatives to gRPC that have both a pleasant developer experience and great performance? Apache Avro? Apache Thrift?
- habitue 6y agoI think for this kind of high performance stuff, grpc is a reasonable choice. For ergonomics though, http + json is fine for many/most applications and there is a lot more widely available tooling for it than there is for grpc. It's very possible that will change over time (My implicit assumption here is that a project like Arrow Flight wants a cross-language, widely used foundation for their protocol, and there's not a ton of things that fit that bill. But depending on your application's needs, implementing a language-specific rpc system is perfectly acceptable, and may have even better ergonomics. Rust and Python both have a plethora of mono-lingual rpc frameworks)
- hilbertseries 6y agogRPC has a pleasant developer experience? This is news to me.
- riku_iki 6y agoMaybe it is relatively pleasant when compared to alternatives.
- ampdepolymerase 6y agoIt doesn't.
- jeffnappi 6y agoGraphQL is one. Here's an article making the argument for it https://blog.spaceuptech.com/posts/why-we-moved-from-grpc-to-graphql/ https://blog.spaceuptech.com/posts/why-we-moved-from-grpc-to...
- e12e 6y agoI think that if you honestly consider GraphQL a better fit than gRPC, you probably should never have considered gRPC to begin with... And much as we're considering GraphQL for some services as work... I'm not sure I buy it as an RPC framework. I suppose it has about the same appeal as SOAP for that purpose.
- jeffnappi 6y agoAgreed - they both have their place.
- e12e 6y agoCap'n'proto? https://capnproto.org/ https://capnproto.org/