ChipsThe story, in brief

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

10–20% CPU savings. That's what Yandex's open-source YaFF achieves in production ad systems by reimagining how AI infrastructure serializes data.

Paper-cut illustration of an amber microchip with circuit paths extending into a row of data-center cabinets.
The infrastructure powering AI.AI illustration by KeyNews
The KeyNews take

Why it matters

Yandex's YaFF demonstrates that infrastructure efficiency wins at scale come from optimizing data serialization layers—critical for recommendation systems and inference pipelines handling billions of requests. This matters to builders running large-scale AI workloads where CPU overhead directly impacts margins.

The key facts

7 to know
  1. Yandex open-sources YaFF: zero-copy wire format for Protobuf

  2. Flat Layout achieves read speeds within 1.2× of raw C++ struct performance

  3. Four layout options: Fixed, Flat, Sparse, Dynamic

  4. Production deployment in advertising recommendation system

  5. 10–20% CPU savings reported at scale

  6. Maintains .proto as single source of truth

  7. Flat Layout reads within 1.2× of raw C++ struct performance

Go to the source

MarkTechPostmarktechpost.com

Publisher excerpt: 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 benchmark where Flat…
Read original report
Back to today's editionMore chips news

Keep reading

Related stories

More from Chips