Intro: gRPC-Web - Stanley Cheung & Wenbo Zhu, Google

preview_player
Показать описание


Intro: gRPC-Web - Stanley Cheung & Wenbo Zhu, Google

Connect from Browsers using gRPC-Web We are delighted to introduce gRPC-Web, a cross-browser javascript library which allows developers to write web applications that connect to gRPC servers. In this intro talk, we will briefly talk about the gRPC-Web protocol and deployment model. We will also show a quick demo on how easy it is to start writing a browser application with gRPC-Web, Protobuf and Envoy. With gRPC-Web, you get a very familiar gRPC-style API compared to other languages supported by gRPC. We will also talk about how future holds and what we have planned in the roadmap.

Рекомендации по теме
Комментарии
Автор

The future of gRPC on the frontend looks promising.

PaulSebastianM
Автор

What is envoy doing and why can't that logic be in grpcweb?

whatthefunction
Автор

@Stanley please share the github repo link.

praskatti
Автор

everyone talks the same, but how can I have multiple endpoints ?like i have a todo app in react and i use envoy but i have 2 microservices in grpc like auth_grpc and todo_grpc

GuilhermeMendes
Автор

Sure, Envoy can be used as Edge Proxy to route traffic to any endpoint. Probably Traefik also can be used as it has gRPC support. Really want to see this maturing. I like to use proto3 as it is so much easier to work with APIs and now it becomes even more easier. Proto IDLs become single source of truth which is great.
And actually handling CORS in Go gRPC backend is not an big deal.

Oswee