PulseAugur
实时 11:28:34
English(EN) 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 开源 YaFF 以加快 Protobuf 数据处理速度 · 跟踪 2 个来源

Yandex 已开源 YaFF,这是一个 C++ 序列化库,旨在提高 Protocol Buffers (Protobuf) 的性能。YaFF 作为 Protobuf 消息的替代线格式,允许原始 .proto 模式保持事实来源,同时优化数据在内存中的布局方式。这种方法旨在减少高负载后端系统中的 CPU 消耗,Yandex 在生产环境中报告了 10-20% 的节省。基准测试表明,YaFF 的 Flat Layout 在读取数据方面比 Protobuf 和 FlatBuffers 快得多,接近原始 C++ 结构体的速度。 AI

影响 该库可以提高依赖 Protobuf 的 AI 系统中数据处理的效率。

排序理由 一款新的序列化库的开源发布,附带性能基准测试。

在 Mastodon — fosstodon.org 阅读 →

AI 生成摘要 · Google Gemini · 来自 2 个来源。 我们如何撰写摘要 →

Yandex 开源 YaFF 以加快 Protobuf 数据处理速度 · 跟踪 2 个来源

报道来源 [2]

  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 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…