‹ BackHN Continuity

Thread

What if Jev spoke Arrow?

44 points · 5 comments · ianmcook

Loading the complete thread in the background. This saved snapshot is available now. Refresh

  1. orf · · focus · HN ↗
    [delayed]
    1. mihevc · · focus · HN ↗
      grpc is an RPC framework and Arrow IPC is a serialization format. You can use Arrow Flight which uses grpc to send Arrow IPC. But I suppose TypeSafe doesn't provide grpc endpoints yet?
      1. orf · · focus · HN ↗
        [delayed]
      2. billsmithaustin · · focus · HN ↗
        gRPC uses Protocol Buffers for serialization. You can serialize with Protocol Buffers without making remote procedure calls with gRPC.
    2. mihevc · · focus · HN ↗
      If I read the example correctly they are using long living http/2 connection to send arrow IPC. Which seems pretty pragmatic.
    3. ianmcook · · focus · HN ↗
      Agreed. With the API as it is today, the bottleneck is the thousands of round trips (one per state). The post is a bit of a "what if" where we're imagining (and hoping!) that TypeSafe adds a batch endpoint, which would take the round trips out of the picture. Then serialization would start to matter, and that's where Arrow would come in

      It would be straightforward to wrap this as an Arrow Flight (Arrow over gRPC) endpoint. But it would make it heavier and less browser-compatible.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.