Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use gRPC everywhere (over the wire) #8349

Open
jprochazk opened this issue Dec 6, 2024 · 0 comments
Open

Use gRPC everywhere (over the wire) #8349

jprochazk opened this issue Dec 6, 2024 · 0 comments

Comments

@jprochazk
Copy link
Member

jprochazk commented Dec 6, 2024

Right now all our SDK comms are handled using "smart channels", which support many different sources:

  • "At rest" data
    • File
    • iframe web events
    • JS channels
    • stdin
  • "In flight" data
    • HTTP
    • WebSockets
    • TCP
    • gRPC

JS channels and iframe events are web-viewer only, and stdin is CLI-only, so we can ignore those for the time being, as they'll always require side channels of some sort. Files read from the local filesystem or served over HTTP will soon be encoded using a custom stream-level protocol:

We want to switch everything under "in flight" over to gRPC, no more custom protocols there.

Short-term goal is to standardize everything by migrating all the different pieces to Protobuf & gRPC without really changing any of the semantics. Mid-term goal is to evolve the semantics to fix some long-standing issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant