-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Description
Our benchmarks are finally at the point where we're able to measure the overhead of serialization. The gap below is due to serialization:
Flatbuffers appears to now be our bottleneck (see benchmarks in #1966)
Here are our requirements for a new serialization library:
- Supports Rust and TypeScript.
- Generated Rust code complicates our build system. Ideally we could specify the message schema using Rust structs to avoid this.
- Must be able to serialize into existing byte slice (
&[u8]
in Rust orUint8Array
in JS). That is, it should not return a newly allocated slice. - Must support (at minimum)
String
andi32
types within a struct. - At minimum be able to handle 200k serialization/deserialization per second. But probably needs to be more like 2m/sec in order to close the above throughput gap
crabmusket, fvilante, kirillgroshkov, dplewis, wotterfree and 3 moretransitive-bullshit
Metadata
Metadata
Assignees
Labels
No labels