‹ BackHN Continuity

Thread

What if Jev spoke Arrow?

48 points · 6 comments · ianmcook

  1. orf · · focus · HN ↗
    While Jev is fast, using it is hardly bottleknecked by deserializing from JSON.

    Using arrow is cool, but grpc seems like a more natural fit than arrow IPC and would give you the same benefits.

    1. 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.