PulseAugur
EN
LIVE 14:39:33

Yandex open-sources YaFF for faster Protobuf data handling · 2 sources tracked

Yandex has open-sourced YaFF, a C++ serialization library designed to improve the performance of Protocol Buffers (Protobuf). YaFF acts as an alternative wire format for Protobuf messages, allowing the original .proto schema to remain the source of truth while optimizing how data is laid out in memory. This approach aims to reduce CPU consumption in high-load backend systems, with Yandex reporting 10-20% savings in production environments. Benchmarks indicate that YaFF's Flat Layout can read data significantly faster than Protobuf and FlatBuffers, approaching the speed of raw C++ structs. AI

IMPACT This library could improve the efficiency of data processing in AI systems that rely on Protobuf.

RANK_REASON Open-source release of a new serialization library with performance benchmarks.

Read on Mastodon — fosstodon.org →

AI-generated summary · Google Gemini · from 3 sources. How we write summaries →

Yandex open-sources YaFF for faster Protobuf data handling · 2 sources tracked

COVERAGE [3]

  1. MarkTechPost TIER_1 English(EN) · Asif Razzaq ·

    Yandex Open-Sources YaFF: A Zero-Copy Wire Format for Protobuf With Near-Struct Read Speed

    <p>In this article we look at YaFF, Yandex's open-source zero-copy wire format for the Protobuf ecosystem. We keep the .proto file as the single source of truth, changing only how data sits in memory. We walk through its four layouts — Fixed, Flat, Sparse, and Dynamic — and the b…

  2. Mastodon — fosstodon.org TIER_1 English(EN) · [email protected] ·

    🤖 Yandex's YaFF library cuts Protobuf parsing costs for high-performance apps Yandex's open source YaFF library is reducing CPU usage by 10 20% in production en

    🤖 Yandex's YaFF library cuts Protobuf parsing costs for high-performance apps Yandex's open source YaFF library is reducing CPU usage by 10 20% in production environments by optimizing Protobuf serialization. This new high performance C++ serialization library, named YaFF (Yet an…

  3. Mastodon — fosstodon.org TIER_1 English(EN) · [email protected] ·

    Yandex has open-sourced YaFF, a zero-copy wire format for Protobuf. It changes only how data sits in memory while keeping .proto files as the source of truth. I

    Yandex has open-sourced YaFF, a zero-copy wire format for Protobuf. It changes only how data sits in memory while keeping .proto files as the source of truth. In benchmarks, the Flat Layout reads 3.8x faster than FlatBuffers and within 1.2x of a raw C++ struct, reporting 10-20% C…