Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
throaaway1984
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
throaaway1984
8y ago
I think you can use both[1]; gRPC doesn't compete with GraphQL really. [1] https://github.com/google/rejoiner
2.
▲
by
throaaway1984
8y ago
gRPC is protocol agnostic. You can use any wire type with it, like JSON. There's even a codec for thrift messages on gRPC called grift.
3.
▲
by
throaaway1984
8y ago
Websockets have head-of-line blocking, which is one of the main reasons HTTP/2 exists. HTTP/2 (i.e. gRPC) is a bidirectional streaming protocol, and you can use the fetch API in JS to use it. The reason gRPC-web exists is because