fluidex/dingir-exchange

feat: replace js grpc gateway with envoy

Closed this issue · 3 comments

lispc commented

it supports streaming too : https://github.com/grpc/grpc-web

but uses long polling

Currently the gRPC-Web client library uses XHR to ensure cross-browser support and to support platforms such as React-Native.

We do plan to add fetch/streams support at some point, which is more efficient for binary streams and incurs less memory overhead on the client-side.

However, fetch still has certain gaps compared to XHR, most notably the lack of cancellation support. Progressing events, I/O event throttling are other concerns.