Yandex has open-sourced YaFF, a new wire format for Protocol Buffers that achieves near-struct read speeds through zero-copy deserialization. Designed for performance-critical applications, YaFF allows direct memory access to serialized data without parsing overhead, significantly accelerating data processing pipelines.
Unlike traditional Protobuf formats that require copying and decoding fields, YaFF maps serialized bytes directly to memory structures, enabling reads as fast as native C structs. This approach reduces CPU usage and latency, making it ideal for high-throughput systems like real-time analytics, databases, and distributed computing.
The project is now available on GitHub under an open-source license, inviting community contributions and adoption. Yandex hopes YaFF will become a standard for scenarios where Protobuf's flexibility meets the need for extreme performance.