Tag

Protobuf

1 views collected around this technical thread.

php中文网 Courses
php中文网 Courses
Jun 16, 2025 · Backend Development

Build High‑Performance Go Microservices with gRPC and Protobuf

Learn how to create a high‑performance Go microservice using gRPC and Protocol Buffers, covering gRPC advantages, Protobuf service definitions, step‑by‑step server and client implementation, performance comparison with REST, and an introduction to streaming communication modes.

GoMicroservicesProtobuf
0 likes · 7 min read
Build High‑Performance Go Microservices with gRPC and Protobuf
FunTester
FunTester
May 27, 2025 · Backend Development

Java Serialization: Ten Common Pitfalls and Safer Alternatives

Java serialization, while convenient for persisting objects, suffers from versioning issues, hidden fields, mutable data snapshots, performance overhead, security vulnerabilities, singleton breaches, final field tampering, external dependencies, maintenance burdens, and format limitations, and the article recommends explicit serialVersionUID, custom methods, and JSON/Protobuf alternatives.

Best PracticesJSONJava
0 likes · 18 min read
Java Serialization: Ten Common Pitfalls and Safer Alternatives
Tencent Cloud Developer
Tencent Cloud Developer
May 22, 2025 · Fundamentals

Understanding Protobuf Encoding: Varints, ZigZag, Embedded Messages and Best Practices

This article explains Google Protocol Buffers' binary serialization, covering its advantages and drawbacks, the encoding mechanisms of tags, varints, ZigZag, embedded and repeated fields, and provides practical best‑practice guidelines for designing robust .proto schemas.

Best PracticesGoProtobuf
0 likes · 11 min read
Understanding Protobuf Encoding: Varints, ZigZag, Embedded Messages and Best Practices
Tencent Cloud Developer
Tencent Cloud Developer
Apr 28, 2025 · Backend Development

Performance Optimization Techniques for High‑Throughput Backend Systems

The article outlines seven practical performance‑optimization techniques for high‑throughput back‑ends—including replacing protobuf with native C++ classes, adopting cache‑friendly data structures, using jemalloc/tcmalloc, implementing lock‑free double buffers, simplifying structs for specific scenarios, and leveraging profiling tools—while stressing balanced, incremental improvements.

C++Protobufbackend development
0 likes · 16 min read
Performance Optimization Techniques for High‑Throughput Backend Systems
Deepin Linux
Deepin Linux
Apr 22, 2025 · Backend Development

C++ Serialization: Concepts, Tools, and Best Practices

Serialization in C++ bridges in‑memory objects and persistent or network formats, addressing challenges like byte order, data type compatibility, and complex structures, while the article reviews core principles, binary and text formats, major libraries such as Protobuf, Cereal, Cista++, ThorsSerializer, and offers guidance on selecting and using them effectively.

C++CerealCista++
0 likes · 41 min read
C++ Serialization: Concepts, Tools, and Best Practices
Tencent Cloud Developer
Tencent Cloud Developer
Apr 17, 2025 · Fundamentals

Protobuf Encoding Principles and Optimization Techniques

The article explains how Protocol Buffers (proto3) encode basic and composite types using varint, zigzag, fixed-size and IEEE‑754 formats, describes tag and length field structures, and presents optimization strategies such as selecting size‑efficient types, flattening nested messages, and delta‑encoding to significantly reduce serialized byte‑stream size.

ProtobufProtocol BuffersSerialization
0 likes · 15 min read
Protobuf Encoding Principles and Optimization Techniques
Bilibili Tech
Bilibili Tech
Dec 27, 2024 · Big Data

Consistency Architecture for Bilibili Recommendation Model Data Flow

The article outlines Bilibili’s revamped recommendation data‑flow architecture that eliminates timing and calculation inconsistencies by snapshotting online features, unifying feature computation in a single C++ library accessed via JNI, and orchestrating label‑join and sample extraction through near‑line Kafka/Flink pipelines, with further performance gains and Iceberg‑based future extensions.

Big DataIcebergProtobuf
0 likes · 12 min read
Consistency Architecture for Bilibili Recommendation Model Data Flow
Code Mala Tang
Code Mala Tang
Dec 17, 2024 · Backend Development

Why gRPC Beats REST+JSON: HTTP/2 and Protobuf Performance Secrets

gRPC can halve request latency compared to REST+JSON by leveraging HTTP/2’s multiplexed connections and the compact binary Protobuf format, which reduces payload size and speeds serialization, though it introduces complexities like load balancing, debugging, and contract management.

HTTP/2Protobufbackend
0 likes · 7 min read
Why gRPC Beats REST+JSON: HTTP/2 and Protobuf Performance Secrets
Java Tech Enthusiast
Java Tech Enthusiast
Dec 15, 2024 · Fundamentals

Java Serialization and Deserialization: Concepts and Practices

The article explains serialization and deserialization fundamentals, highlights pitfalls such as ambiguous binary streams and platform‑dependent field sizes, then compares Java’s native ObjectOutputStream, JSON libraries, Hessian binary RPC, and Google’s Protobuf, guiding readers to select the appropriate format based on performance, payload size, and type‑safety needs.

HessianJSONJava
0 likes · 8 min read
Java Serialization and Deserialization: Concepts and Practices
Tencent Cloud Developer
Tencent Cloud Developer
Nov 28, 2024 · Backend Development

Contract-Based Design and Communication Challenges in Software Development

The article highlights how fragmented, undocumented cross‑team communication creates fragile software, then advocates adopting contract‑based design—preconditions, postconditions, invariants—and AI‑assisted tooling to formalize API contracts throughout the development lifecycle, aligning teams, reducing errors, and improving system reliability.

OpenAPIProtobufbackend development
0 likes · 18 min read
Contract-Based Design and Communication Challenges in Software Development
Code Mala Tang
Code Mala Tang
Jun 15, 2024 · Fundamentals

Why ProtoBuf Is the Future of Efficient Data Serialization

This article explains what Protocol Buffers (ProtoBuf) are, how they work, their key advantages over JSON and XML, practical usage patterns with code examples, compression mechanisms, real‑world applications, and best practices for maintaining compatibility in modern software systems.

Binary ProtocolData SerializationProtobuf
0 likes · 16 min read
Why ProtoBuf Is the Future of Efficient Data Serialization
FunTester
FunTester
Apr 12, 2024 · Backend Development

Performance Optimization Techniques for Backend Systems: Replacing Protobuf with C++ Classes, Cache‑Friendly Structures, jemalloc, and Lock‑Free Data Structures

The article presents practical backend performance optimization methods—including substituting Protobuf with native C++ classes, employing cache‑friendly data structures, integrating jemalloc/tcmalloc, using lock‑free double‑buffer designs, and tailoring data formats—to achieve up to three‑fold speed improvements and significant latency reductions.

C++Protobufbackend development
0 likes · 15 min read
Performance Optimization Techniques for Backend Systems: Replacing Protobuf with C++ Classes, Cache‑Friendly Structures, jemalloc, and Lock‑Free Data Structures
IT Services Circle
IT Services Circle
Apr 11, 2024 · Backend Development

An Introduction to TypeSpec: Features, Usage Examples, and Quick Start Guide

This article introduces TypeSpec, a lightweight, extensible language for describing REST, OpenAPI, gRPC and other APIs, outlines its key features, demonstrates how to generate OpenAPI, JSON Schema and Protobuf files, and provides step‑by‑step instructions for installing the compiler, setting up the VS Code extension, creating a project, and compiling a sample service.

API designCode GenerationOpenAPI
0 likes · 5 min read
An Introduction to TypeSpec: Features, Usage Examples, and Quick Start Guide
High Availability Architecture
High Availability Architecture
Mar 6, 2024 · Backend Development

Performance Optimization Techniques: Replacing Protobuf with C++ Classes, Cache‑Friendly Structures, jemalloc, and Lock‑Free Designs

This article presents practical performance‑optimization strategies for high‑throughput C++ services, including replacing Protobuf with hand‑written classes, adopting cache‑friendly data structures, using jemalloc/tcmalloc instead of the default allocator, employing lock‑free double‑buffer designs, tailoring data formats for specific workloads, and leveraging profiling tools to measure gains.

C++Protobufcache-friendly
0 likes · 17 min read
Performance Optimization Techniques: Replacing Protobuf with C++ Classes, Cache‑Friendly Structures, jemalloc, and Lock‑Free Designs
Tencent Cloud Developer
Tencent Cloud Developer
Feb 29, 2024 · Backend Development

Performance Optimization Strategies for High‑Throughput Backend Services

The article outlines practical, continuous performance‑optimization tactics for high‑throughput back‑end services—replacing Protobuf with lightweight C++ classes, using cache‑friendly data structures, adopting jemalloc/tcmalloc, employing lock‑free double buffers, tailoring data formats, and leveraging profiling tools—to achieve multi‑fold speedups while balancing maintainability.

C++Protobufbackend
0 likes · 18 min read
Performance Optimization Strategies for High‑Throughput Backend Services
Ctrip Technology
Ctrip Technology
Feb 22, 2024 · Backend Development

Design and Implementation of a Serverless Data Filling Engine for UnifiedPB in Ctrip Hotel Recommendation System

This article describes how Ctrip's hotel recommendation team built a serverless, configuration‑driven data‑filling engine based on UnifiedPB protobuf schemas to improve development efficiency, reduce cost, ensure data quality, and achieve unified three‑region data delivery across more than twenty recommendation scenarios.

Data EngineeringEfficiencyProtobuf
0 likes · 12 min read
Design and Implementation of a Serverless Data Filling Engine for UnifiedPB in Ctrip Hotel Recommendation System
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 1, 2024 · Backend Development

Introducing Hasaki: A Simple Golang HTTP Restful Client with Custom Decoders and Middleware

This article describes the motivation, design, and usage of Hasaki, a lightweight Go HTTP Restful client that supports custom status‑code handling, multiple data formats such as JSON, XML, YAML and protobuf, builder‑style chaining, and extensible middleware, providing code examples and a plugin architecture.

GoHTTP ClientHasaki
0 likes · 10 min read
Introducing Hasaki: A Simple Golang HTTP Restful Client with Custom Decoders and Middleware
Bilibili Tech
Bilibili Tech
Oct 17, 2023 · Artificial Intelligence

Design and Implementation of Bilibili Video Template System

The Bilibili video template system combines theme‑based editing, a layered architecture, and a cross‑platform Protobuf protocol to enable PGC and UGC creators to produce, review, distribute, and consume richly‑featured videos with standardized media formats, modular plugins, AI integration, and robust quality assurance.

AI integrationProtobufSystem Architecture
0 likes · 20 min read
Design and Implementation of Bilibili Video Template System
DeWu Technology
DeWu Technology
Oct 16, 2023 · Backend Development

Technical and Design Considerations for Customer Service IM Message Delivery

The article examines the end‑to‑end technical and design challenges of delivering a single customer‑service instant‑message, detailing reliability, ordering, idempotency, performance optimizations such as async handling and binary‑search traversal, security practices, latency reductions via Protocol Buffers, and a roadmap for future enhancements.

IMMessage ReliabilityProtobuf
0 likes · 20 min read
Technical and Design Considerations for Customer Service IM Message Delivery
Bitu Technology
Bitu Technology
Jan 11, 2023 · Backend Development

Optimizing Performance, Stability, and Edge Cases of Elixir‑gRPC Services in Production

This article shares Tubi’s experience using Elixir‑gRPC in production, covering performance optimizations, stability measures, HTTP/2 edge‑case handling, and practical code examples for efficient Protobuf processing; it also discusses Envoy sidecar integration, interceptor usage, and lessons learned from real‑world deployments.

ElixirEnvoyHTTP/2
0 likes · 13 min read
Optimizing Performance, Stability, and Edge Cases of Elixir‑gRPC Services in Production