Hacker News new | past | comments | ask | show | jobs | submit login
Connect joins the CNCF: gRPC you can bet your business on (buf.build)
18 points by akshayshah 10 months ago | hide | past | favorite | 7 comments



> We’ve been listening to many of our customers express their frustration with the growing complexity and instability they’ve endured with Google’s gRPC projects.

Interesting. Could anyone explain what's going on in this area for outsiders like me?


My own experience has definitively been frustrating at times. I think the main issue is the lack of consistency and breakage between the different libraries/languages. Even minor version could cause issues when trying to create gRPC message definitions for different languages.

The documentation was also lacking when it came to arguments for each of the libraries.

I vaguely remembered wanted to change a small piece of a message and it took me a whole day of spelunking to figure out how to do it, browsing C++, Go codebases.

Take this with a grain of salt, this was a few years ago and things might have changed.


> The documentation was also lacking when it came to arguments for each of the libraries.

Oh god yeah. Still the case as of maybe a year ago (not sure when exactly I last touched this, I think it's less than a year.)


I only have the perspective of trying to add gRPC endpoints/servers to a large existing project, and... it's a nightmare primarily due to gRPC's insistence on using its own threads and refusal to integrate into an existing mainloop. This has caused bugs galore.

(This is a 1M LOC C project, shoehorning in the C++ gRPC implementation. C++ has also added to the pain due to poor readability and maintainability of the code.)

FWIW this buf.io/ConnectRPC thing posted here does not seem to help our problems at all.


at least in grpc-java, we've ran into a number of issues with breaking changes that are incredibly subtle. For example, they changed the behavior of the DNS NameResolver to not periodically re-resolve endpoints. This meant that if your Loadbalancer didn't explicitly force re-resolution at some point (which isn't required for any other NameResolver implementation) then you could end up with stuck clients.


Is anyone using grpc-web? I'm curious how well it works. I've looked a few times and have always been somewhat turned off by the proxy that sits in front of it.

I'm not in love with REST and I like the auto-generation; curious how it is on the front end.


With rust’s tonic library and ts-protobuf on the client you no longer need a proxy.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: