deephaven / deephaven-core

Deephaven Community Core
Other
257 stars 80 forks source link

Replace TypeScript gRPC-web library with something that can be improved #6214

Open niloc132 opened 1 month ago

niloc132 commented 1 month ago

The standard gRPC-web library isn't usable by us - it explicitly doesn't support streaming binary data, and has no provisions for streaming without h2.

Instead, we've used https://github.com/improbable-eng/grpc-web until now, and extended it slightly to use a single websocket transport for multiple gRPC streams.

We're hitting its limits in several ways:

This is currently not scoped to also handle protobuf in java/gwt, but that would give us some compiled size savings as well.