Tagged articles
1 articles
Page 1 of 1
Tencent Cloud Developer
Tencent Cloud Developer
Nov 10, 2021 · Backend Development

Protobuf Shared‑Field Guard for Zero‑Copy User Feature Propagation in Recommendation Systems

The article presents a Guard abstraction that temporarily borrows and returns Protobuf field pointers via set_allocated/release, eliminating costly CopyFrom operations in recommendation pipelines, enabling zero‑copy field sharing across central‑control and recall stages, improving CPU usage and latency while handling safety and rollback.

Performance OptimizationProtobufZero Copy
0 likes · 7 min read
Protobuf Shared‑Field Guard for Zero‑Copy User Feature Propagation in Recommendation Systems