Tag

Protocol Buffers

1 views collected around this technical thread.

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.

Data StructuresOptimizationProtobuf
0 likes · 15 min read
Protobuf Encoding Principles and Optimization Techniques
FunTester
FunTester
Feb 11, 2025 · Fundamentals

Reconsidering Java Serialization: Challenges and Modern Alternatives

Java serialization, while convenient for object persistence, suffers from security vulnerabilities, versioning issues, performance constraints, and difficulties handling complex object graphs, prompting developers to evaluate alternatives such as JSON, Protocol Buffers, and Apache Avro, each offering distinct trade‑offs in readability, efficiency, and safety.

Apache AvroJSONJava
0 likes · 9 min read
Reconsidering Java Serialization: Challenges and Modern Alternatives
JD Tech Talk
JD Tech Talk
Jan 10, 2025 · Backend Development

Analysis of gRPC: Principles, Advantages, Disadvantages, and a Cross‑Language Demo

This article examines gRPC’s implementation principles, multi‑language support, Protocol Buffers foundation, advantages and disadvantages, and provides a C++/Go demo illustrating its cross‑language capabilities within cloud‑native environments, including project structure, code snippets, and discussion of HTTP/2 transport.

HTTP/2Protocol BuffersRPC
0 likes · 8 min read
Analysis of gRPC: Principles, Advantages, Disadvantages, and a Cross‑Language Demo
Deepin Linux
Deepin Linux
Sep 19, 2024 · Backend Development

Comprehensive Guide to gRPC: Concepts, C++ Implementation, and Real‑World Use Cases

This article explains the limitations of traditional RPC, introduces gRPC and Protocol Buffers, details their architecture and performance advantages, provides step‑by‑step C++ server and client code, and discusses practical scenarios such as microservices, real‑time data processing, and a file‑storage service example.

C++Protocol Buffersbackend development
0 likes · 29 min read
Comprehensive Guide to gRPC: Concepts, C++ Implementation, and Real‑World Use Cases
Java Architecture Diary
Java Architecture Diary
Jan 16, 2023 · Backend Development

How to Compile and Run Nacos Console in Standalone Mode

This guide walks you through cloning the Nacos repository, compiling it with Maven (including special handling for Mac M‑series chips), explains the role of Protocol Buffers, and shows how to configure and run the Nacos console in standalone mode.

CompilationJavaMaven
0 likes · 2 min read
How to Compile and Run Nacos Console in Standalone Mode
Efficient Ops
Efficient Ops
Oct 10, 2022 · Backend Development

Master gRPC: From Basics to Building a Python Microservice

This article introduces gRPC, explains its HTTP/2 and Protocol Buffers foundations, walks through writing and compiling .proto files, provides complete Python server and client examples, and shows how to quickly set up the environment and integrate gRPC into microservice and Kubernetes deployments.

HTTP/2Protocol BuffersPython
0 likes · 9 min read
Master gRPC: From Basics to Building a Python Microservice
Code Ape Tech Column
Code Ape Tech Column
Aug 12, 2022 · Backend Development

Understanding RPC and gRPC: Concepts, Frameworks, and a Practical Java Implementation

This article explains the fundamentals of Remote Procedure Call (RPC), compares popular RPC frameworks such as gRPC, Thrift, Dubbo and Spring Cloud, details gRPC’s architecture, Protocol Buffers serialization, HTTP/2 advantages, and provides a step‑by‑step Java demo with full source code and performance benchmarks.

JavaProtocol BuffersRPC
0 likes · 16 min read
Understanding RPC and gRPC: Concepts, Frameworks, and a Practical Java Implementation
Python Programming Learning Circle
Python Programming Learning Circle
Dec 4, 2021 · Backend Development

Getting Started with gRPC in Python: Concepts, Setup, and Example

This article introduces the high‑performance gRPC framework, explains why it uses HTTP/2 and Protocol Buffers, outlines its core components, and provides a step‑by‑step Python tutorial with environment setup, code generation, server and client implementations, and common application scenarios.

HTTP/2Protocol Buffersbackend development
0 likes · 9 min read
Getting Started with gRPC in Python: Concepts, Setup, and Example
vivo Internet Technology
vivo Internet Technology
Jan 27, 2021 · Backend Development

Understanding Protocol Buffers (ProtoBuf): Principles, Practices, and Performance

Protocol Buffers (ProtoBuf) is a language‑neutral, binary serialization format that enables compact, fast data exchange and easy backward‑compatible schema evolution across many languages, with automatic code generation, making it ideal for gRPC and storage despite being non‑human‑readable.

JavaProtocol BuffersSerialization
0 likes · 11 min read
Understanding Protocol Buffers (ProtoBuf): Principles, Practices, and Performance
Top Architect
Top Architect
Jul 20, 2020 · Fundamentals

Introduction to Protocol Buffers (ProtoBuf) with Java Example and Performance Comparison

This article introduces Google’s Protocol Buffers (ProtoBuf), explains its principles, shows how to install the compiler, provides a complete Java example for defining, compiling, and using .proto files, and compares its encoding speed and memory usage against JSON, highlighting ProtoBuf’s advantages.

JavaProtobufProtocol Buffers
0 likes · 9 min read
Introduction to Protocol Buffers (ProtoBuf) with Java Example and Performance Comparison
58 Tech
58 Tech
Jun 17, 2020 · Backend Development

Hermes: A Lightweight, High‑Reliability Mobile Message Push System Based on MQTT and Protocol Buffers

The article presents Hermes, a lightweight and highly reliable mobile push system built with MQTT and Protocol Buffers, detailing its background, technology selection, architecture, heartbeat and reconnection strategies, future optimizations, and practical results that achieve over 99% message delivery rate.

Long ConnectionMQTTProtocol Buffers
0 likes · 16 min read
Hermes: A Lightweight, High‑Reliability Mobile Message Push System Based on MQTT and Protocol Buffers
Java Architect Essentials
Java Architect Essentials
May 26, 2020 · Backend Development

gRPC Java Tutorial: Building a Spring Boot Service with Maven

This article provides a step‑by‑step guide to using Google's open‑source gRPC framework in Java, covering Protocol Buffers service definitions, Maven configuration, Spring Boot server implementation, client creation, and unit testing to demonstrate cross‑language RPC communication.

JavaMavenProtocol Buffers
0 likes · 16 min read
gRPC Java Tutorial: Building a Spring Boot Service with Maven
360 Tech Engineering
360 Tech Engineering
Feb 28, 2020 · Backend Development

Introduction to gRPC and Protobuf with Go: Definitions, Syntax, and Example Implementation

This article provides a comprehensive beginner-friendly guide to gRPC, covering its definition, the protobuf syntax for defining messages and services, field constraints, supported data types, usage of the protoc tool, and complete Go examples for both server and client implementations.

GoProtobufProtocol Buffers
0 likes · 8 min read
Introduction to gRPC and Protobuf with Go: Definitions, Syntax, and Example Implementation
System Architect Go
System Architect Go
Aug 23, 2019 · Backend Development

Getting Started with gRPC and Protocol Buffers: Node.js and Go Examples

This article introduces RPC and gRPC concepts, explains how to define services with Protocol Buffers, and provides step‑by‑step Node.js and Go examples for building gRPC servers and clients, while covering language support, limitations, and reference resources.

GoNode.jsProtocol Buffers
0 likes · 5 min read
Getting Started with gRPC and Protocol Buffers: Node.js and Go Examples
360 Tech Engineering
360 Tech Engineering
Aug 6, 2019 · Mobile Development

Performance Comparison of JSON, Protocol Buffers, and FlatBuffers for H5‑Hybrid and Flutter Data Transmission

This article presents a real‑device performance test of three data serialization structures—JSON, Protocol Buffers, and FlatBuffers—used in H5‑Hybrid and Flutter development, analyzing their size, serialization/deserialization speed, and suitability for Android, Flutter, and H5 communication channels.

AndroidFlatBuffersFlutter
0 likes · 13 min read
Performance Comparison of JSON, Protocol Buffers, and FlatBuffers for H5‑Hybrid and Flutter Data Transmission
JD Tech
JD Tech
Jan 4, 2019 · Backend Development

Using Protobuf with Go: Installation, Code Examples, and Serialization

This article provides a step‑by‑step guide on installing the Protobuf compiler, setting up the Go plugin, writing .proto definitions, generating Go code, and demonstrating serialization and deserialization of Protobuf messages in a Go application, complete with troubleshooting tips and reference links.

GoProtobufProtocol Buffers
0 likes · 6 min read
Using Protobuf with Go: Installation, Code Examples, and Serialization
High Availability Architecture
High Availability Architecture
Oct 30, 2018 · Backend Development

Why Protocol Buffers Are Fundamentally Flawed: A Critical Analysis

The article presents a detailed technical critique of Protocol Buffers, highlighting its amateur origins, lack of composability, problematic type system choices, misleading backward‑compatibility claims, and the way it pollutes codebases, ultimately arguing that developers should avoid adopting it for new projects.

GoogleProtocol BuffersSerialization
0 likes · 11 min read
Why Protocol Buffers Are Fundamentally Flawed: A Critical Analysis
Architecture Digest
Architecture Digest
Oct 27, 2017 · Backend Development

A Historical Overview of Remote Procedure Call (RPC) Technologies and Middleware

This article traces the evolution of Remote Procedure Call (RPC) from its early definitions in the 1970s through various middleware implementations like CORBA, Java RMI, Thrift, and gRPC, highlighting key concepts, criticisms, and modern developments in distributed systems.

CORBAProtocol BuffersRPC
0 likes · 14 min read
A Historical Overview of Remote Procedure Call (RPC) Technologies and Middleware
Architect
Architect
Jul 25, 2015 · Cloud Computing

Design Principles and Components of Google App Engine

This article explains Google App Engine's core design philosophies—including reuse of Google technologies, statelessness, hard limits, Protocol Buffers for service heterogeneity, and distributed storage—then details its front‑end, Datastore, service group, language‑specific implementations, and a typical HTTP request flow.

Distributed DatastoreGoogle App EngineProtocol Buffers
0 likes · 6 min read
Design Principles and Components of Google App Engine