← All projects
Project record1 mention
Originally shared on Hacker News

ecksport

A Rust protocol library intended as a substitute for "JSON-RPC over HTTP/WebSocket", designed to natively support byte-oriented data structures and reduce overheads. It supports a bidirectional HTTP2-style channel concept without assumptions about how channels are used, can require authentication of the client and/or server while punting secrecy to lower-level transport protocols, and uses Rust macros to generate traits and wrappers for easy ergonomics. A call/response RPC abstraction is already built on top of it, with planned additions including a streaming message system, bridges to ZMQ and JSON-RPC, and inetd-like behavior.

Last shared
01 / The problem

What it addresses

JSON-RPC over HTTP/WebSocket has overheads and lacks native support for byte-oriented data structures.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. ecksport

    A Rust protocol library intended as a substitute for "JSON-RPC over HTTP/WebSocket", designed to natively support byte-oriented data structures and reduce overheads. It supports a bidirectional HTTP2-style channel concept without assumptions about how channels are used, can require authentication of the client and/or server while punting secrecy to lower-level transport protocols, and uses Rust macros to generate traits and wrappers for easy ergonomics. A call/response RPC abstraction is already built on top of it, with planned additions including a streaming message system, bridges to ZMQ and JSON-RPC, and inetd-like behavior.

    Problem: JSON-RPC over HTTP/WebSocket has overheads and lacks native support for byte-oriented data structures.

    Posted by @treyd · Original source ↗

    Source text · @treyd · · Source ↗

    Have been working on a protocol library [1] meant to be a substitute for "JSON-RPC over HTTP/WebSocket". Part of the goal is to more natively support byte-oriented data structures and reduce overheads.