Live data from Hacker News

Announcing gRPC Support in Nginx

nginx.com

11–20 of 81 posts

Re: Announcing gRPC Support in Nginx

#11

This is not cool There is no place for gRPC in NGINX. This is Google trying to thin end of the wedge their own proprietary protocols into web standards yet again. My idea of a good time is not a future where the internet is built using Google technologies dressed as "open technologies".. that.. uh-huh just happen to be the exact same as infrastructure protocols that span the internal Googleverse. Besides that, protob…

> Besides that, protobuf and its ilk aren't even good or modern.

What would you consider "good" or "modern"? JSON?

Re: Announcing gRPC Support in Nginx

#12

This is not cool There is no place for gRPC in NGINX. This is Google trying to thin end of the wedge their own proprietary protocols into web standards yet again. My idea of a good time is not a future where the internet is built using Google technologies dressed as "open technologies".. that.. uh-huh just happen to be the exact same as infrastructure protocols that span the internal Googleverse. Besides that, protob…

Just out of curiosity, what's a modern alternative to protobufs?

I would also like to know why you don't consider it 'modern' and how you would define modern-ness in this context.

Re: Announcing gRPC Support in Nginx

#13

This is not cool There is no place for gRPC in NGINX. This is Google trying to thin end of the wedge their own proprietary protocols into web standards yet again. My idea of a good time is not a future where the internet is built using Google technologies dressed as "open technologies".. that.. uh-huh just happen to be the exact same as infrastructure protocols that span the internal Googleverse. Besides that, protob…

There might be some problems with it, it is not perfect, however it is already open, not bound to Google and we used in internal projects, and multiple very large projects also use it freely. I really like the strong typing and the ability to bi-directional streams and finally code generation for various languages make it very okay. Our main product was Go, but a part had to be Java and the integration was very easy because we used gRPC. Not that it cannot be achieved by other tools and frameworks, gRPC is already popular and well performing enough for most people.

Re: Announcing gRPC Support in Nginx

#14
post #4

Seems they punted on graceful handling of bidirectional streams.

last i checked grpc could only technically support bidirectional streams. None of the libraries I looked at actually implemented it.

> None of the libraries I looked at actually implemented it.

Can you elaborate on that?

AFAIK gRPC comes with bidirectional streams out of the box. I played around with gRPC on Java and it seemed to work.

Re: Announcing gRPC Support in Nginx

#15

This is not cool There is no place for gRPC in NGINX. This is Google trying to thin end of the wedge their own proprietary protocols into web standards yet again. My idea of a good time is not a future where the internet is built using Google technologies dressed as "open technologies".. that.. uh-huh just happen to be the exact same as infrastructure protocols that span the internal Googleverse. Besides that, protob…

> There is no place for gRPC in NGINX.

Meh. There's place in NGINX for Adobe HDS[0], flv streaming[1], JWT[2], memcached[3], flash mp4 pseudo-streaming[4] and XLST[5].

Hell, spdy draft 3.1 is still supported[6]…

[0] http://nginx.org/en/docs/http/ngx_http_f4f_module.html

[1] http://nginx.org/en/docs/http/ngx_http_flv_module.html

[2] http://nginx.org/en/docs/http/ngx_http_auth_jwt_module.html

[3] http://nginx.org/en/docs/http/ngx_http_memcached_module.html

[4] http://nginx.org/en/docs/http/ngx_http_mp4_module.html

[5] http://nginx.org/en/docs/http/ngx_http_xslt_module.html

[6] http://nginx.org/en/docs/http/ngx_http_spdy_module.html

Re: Announcing gRPC Support in Nginx

#16
This is great! TL;DR: instead of building JSON or GraphQL API now you can easily expose your gRPC service to the outside world!

We use gRPC in my company. We're happy but some things were not easy or straightforward to implement. With this update nginx makes load balancing and authentication easier to implement.

Re: Announcing gRPC Support in Nginx

#17

Earlier quoted context omitted.

last i checked grpc could only technically support bidirectional streams. None of the libraries I looked at actually implemented it.

> None of the libraries I looked at actually implemented it. Can you elaborate on that? AFAIK gRPC comes with bidirectional streams out of the box. I played around with gRPC on Java and it seemed to work.

Go user checking in here as well -- bidirectional streams work just fine

Re: Announcing gRPC Support in Nginx

#18
post #4

Seems they punted on graceful handling of bidirectional streams.

last i checked grpc could only technically support bidirectional streams. None of the libraries I looked at actually implemented it.

All core grpc libraries support bidirectional streaming. It's the "routeguide" example.

Re: Announcing gRPC Support in Nginx

#19

This is great! TL;DR: instead of building JSON or GraphQL API now you can easily expose your gRPC service to the outside world! We use gRPC in my company. We're happy but some things were not easy or straightforward to implement. With this update nginx makes load balancing and authentication easier to implement.

from my understanding this only works over h2 or h2c

Re: Announcing gRPC Support in Nginx

#20

This is not cool There is no place for gRPC in NGINX. This is Google trying to thin end of the wedge their own proprietary protocols into web standards yet again. My idea of a good time is not a future where the internet is built using Google technologies dressed as "open technologies".. that.. uh-huh just happen to be the exact same as infrastructure protocols that span the internal Googleverse. Besides that, protob…

Just out of curiosity, what's a modern alternative to protobufs?

https://google.github.io/flatbuffers/ and https://capnproto.org/ are both successors to protobuf
Post reply on HN