Tagged articles
Protocol Buffers
44 articles · Page 1 of 1
Spring Boot 4.1.1 now offers native gRPC support, letting Java microservices replace the usual REST controllers, DTOs, Feign clients and JSON payloads with a single .proto definition, generated code, and built‑in security, health, observability and testing features, while highlighting best practices and pitfalls.
JavaProtocol BuffersSpring Boot
0 likes · 12 min read

This article introduces gRPC, Google’s high‑performance RPC framework built on HTTP/2 and Protocol Buffers, compares it with REST, explains protobuf type mappings, demonstrates service definitions and all four communication patterns, and covers advanced topics such as interceptors, load balancing, deadlines, error handling, and microservice integration.
HTTP/2Protocol BuffersRPC
0 likes · 20 min read

This step‑by‑step tutorial shows how to configure gRPC, define protobuf service contracts, and implement streaming upload and download in C++, covering environment setup, code generation, server and client logic, testing, and performance tuning for efficient file transfer.
C++Protocol Buffersfile transfer
0 likes · 44 min read

This guide explains the fundamentals of gRPC, why it uses HTTP/2 and Protocol Buffers, walks through writing and compiling .proto files, provides complete Python server and client examples, and outlines common microservice and Kubernetes use cases, giving developers a practical end‑to‑end workflow.
Protocol BuffersPythonbackend development
0 likes · 11 min read

The article explains why JSON becomes a bottleneck in latency‑sensitive applications, compares four high‑performance binary serialization formats—Protocol Buffers, FlatBuffers, MessagePack, and CBOR—and provides practical guidance on selecting and deploying the right format to dramatically reduce latency, payload size, and CPU usage.
CBORFlatBuffersMessagePack
0 likes · 11 min read

This guide explains how to set up the PHP‑Bilibili‑Danmu framework built on Webman, configure Protocol Buffers, run database migrations, connect to Bilibili live rooms, handle danmu and interaction events, and verify the installation using a management dashboard.
BilibiliDanmuPHP
0 likes · 7 min read

This comprehensive guide explains what Protocol Buffers are, why they outperform JSON and XML, how to install and configure the library, the supported data types, code generation for multiple languages, practical C++ examples, and typical scenarios such as distributed systems, storage, and network communication.
C++Protocol BuffersSerialization
0 likes · 23 min read

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

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

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

This article examines gRPC’s implementation principles, its multi‑language support, Protocol Buffers integration, performance advantages, and limitations such as browser compatibility, while providing a C++/Go demo that showcases cross‑language RPC calls and a detailed project structure.
Protocol BuffersRPCbackend development
0 likes · 9 min read

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 Buffersdistributed systems
0 likes · 29 min read

This guide walks you through what Protocol Buffers are, how to install the protoc compiler on macOS, Windows, and Python, explains the proto3 syntax—including messages, fields, enums—and demonstrates compiling .proto files and using the generated code in Python, while highlighting Protobuf's efficiency, extensibility, and multi‑language support.
ProtobufProtocol BuffersPython
0 likes · 7 min read

This article compares Google’s Protocol Buffers and the Swagger/OpenAPI framework, detailing their features, data formats, use cases, flexibility, development workflows, and why Google created protobuf, helping developers choose the right tool for high‑performance data serialization or comprehensive API documentation.
API DesignOpenAPIProtocol Buffers
0 likes · 7 min read

This article explains what Protocol Buffers are, how they work through .proto definitions and the protoc compiler, provides a simple example, shows how protobuf powers gRPC services with Go code, and compares its efficiency and type safety to JSON.
GoProtocol BuffersSerialization
0 likes · 6 min read

This article explains the fundamentals of Remote Procedure Call (RPC), its historical origins, the step‑by‑step execution process, and provides a practical guide to installing and using gRPC with Protocol Buffers in Go, including full code examples and advantages.
GoProtocol BuffersRPC
0 likes · 14 min read

This article introduces Google’s Protocol Buffers, explains its compilation process, walks through a complete Java example, and compares its encoding speed, data size, and memory usage against JSON, showing that ProtoBuf becomes significantly faster and more compact as the number of operations increases.
Data FormatsProtocol BuffersSerialization
0 likes · 9 min read

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.
JavaNacosProtocol Buffers
0 likes · 2 min read

gRPC is a high‑performance, open‑source RPC framework built on HTTP/2 and Protocol Buffers, and this guide explains its core concepts, communication patterns, protobuf usage, and provides step‑by‑step Python examples for creating, compiling, and running client‑server services, plus deployment tips.
HTTP/2Protocol BuffersPython
0 likes · 10 min read

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

This article explains the fundamentals of RPC and gRPC, compares popular RPC frameworks, details gRPC's features and Protocol Buffers advantages, and provides a complete Java hands‑on example with code, project structure, and performance benchmarks.
JavaProtocol BuffersRPC
0 likes · 22 min read

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

This guide walks you through setting up a basic Java gRPC project by outlining required Maven dependencies, creating the .proto SDK, implementing a server with a custom service, building a client stub, and running a test to verify the end‑to‑end RPC call.
JavaMavenProtocol Buffers
0 likes · 9 min read


21CTODec 26, 2021 · Backend Development
This article explains what APIs are, introduces RPC and gRPC, compares them with REST across protocols, data formats, performance, code generation, and browser support, and offers guidance on when to choose gRPC or REST for microservice and mobile applications.
API DesignHTTP/2Protocol Buffers
0 likes · 11 min read

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 BuffersPython
0 likes · 9 min read

This tutorial explains what Protocol Buffers are, why they outperform JSON/XML, and provides a step‑by‑step guide for installing the compiler, defining .proto schemas, generating Java code, integrating with Maven, and using protobuf for fast serialization in micro‑service RPC.
ProtobufProtocol BuffersRPC
0 likes · 12 min read

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

This article introduces Protocol Buffers, explains its advantages over XML, and provides a step‑by‑step guide for defining .proto files, compiling them with protoc, configuring a Java Gradle project, and writing code to serialize and deserialize objects using the generated classes.
JavaProtobufProtocol Buffers
0 likes · 8 min read

This guide explains what Protocol Buffers are, compares them with XML, shows how to define a .proto schema, compile it with protoc, add the generated classes to a Java Gradle project, and demonstrates object serialization and deserialization with concrete code examples.
GradleJavaProtobuf
0 likes · 8 min read

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


58 TechJun 17, 2020 · Backend Development
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

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.
MavenProtocol BuffersSpring Boot
0 likes · 16 min read

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

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.
Node.jsProtocol BuffersRPC
0 likes · 5 min read

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

This article presents a real‑device performance comparison of Json, Protocol Buffers and FlatBuffers across Android, Flutter and H5 channels, explains their internal structures, shows serialization/deserialization code, and provides practical guidance on choosing the right format for mobile data transmission.
FlatBuffersJSONProtocol Buffers
0 likes · 13 min read


JD TechJan 4, 2019 · Backend Development
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

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.
Protocol BuffersSerializationType System
0 likes · 11 min read

This guide explains why and how to use Google Protocol Buffers for efficient data exchange in iOS, covering environment setup, installation, .proto definition, compilation to Objective‑C files, project integration, and a complete encode/decode test with sample code.
Objective-C++Protocol BuffersSerialization
0 likes · 7 min read

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

Google's gRPC 1.0 release brings high‑performance, multi‑language RPC support built on Protocol Buffers and HTTP/2, enabling loosely coupled, scalable backend systems for data centers, mobile apps, IoT, and microservices with improved efficiency, security, and ecosystem adoption.
HTTP/2Protocol BuffersRPC
0 likes · 7 min read


21CTOSep 22, 2015 · Backend Development
This article explains how to add Protocol Buffer communication to a PHP web system, covering library setup, proto file adjustments, code generation, binary TCP handling with pack/unpack, and the switch from read_line to fread for reliable socket reads.
Binary SocketPHPPack
0 likes · 5 min read

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.
Design PrinciplesDistributed DatastoreGoogle App Engine
0 likes · 6 min read

gRPC, an open‑source RPC framework built by Google on HTTP/2 and Protocol Buffers, offers strong IDL capabilities, multi‑language support, and efficient streaming that reduce bandwidth, CPU usage, and battery drain, making it ideal for low‑latency, scalable backend and mobile client architectures.
HTTP/2Protocol BuffersRPC
0 likes · 4 min read
