Tagged articles
binary protocol
10 articles · Page 1 of 1
A flame‑graph reveals that in high‑throughput services only about 30% of CPU time is spent on business logic while the rest is consumed by serialization, prompting a step‑by‑step evolution from flexible JSON to compact binary formats, zero‑copy techniques, and selective compression to keep costs under control at tens of millions of requests per second.
FlatBuffersJSONProtobuf
0 likes · 15 min read

This article explains the core principles of Hessian, a Java‑optimized binary serialization protocol, covering object graph traversal, encoding formats, data‑block tags, repeated‑object reuse, small‑integer inlining, and integer compression, and shows why it offers higher efficiency and compression than text‑based alternatives.
JavaSerializationbinary protocol
0 likes · 17 min read

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 serializationgRPC
0 likes · 16 min read

This article explores how the Go‑based esbuild bundler can be used as a regular npm package in JavaScript, detailing the inter‑process communication protocol, binary encoding, and a minimal Node.js codec that enables fast, cross‑language API calls.
IPCJavaScript APINode.js
0 likes · 11 min read

This article explains the principles of protocol design, covering layered architecture, the differences between text, binary, and streaming XML application protocols, security layer options beyond SSL, and transport layer choices, providing concrete examples and code snippets to illustrate each concept.
Protocol DesignTransportbinary protocol
0 likes · 8 min read

This article introduces Google Protocol Buffers, explains its binary encoding principles such as Tag‑Length‑Value, Varint and ZigZag, compares its efficiency with JSON/XML, and provides a step‑by‑step demo of building a Protobuf‑based WebSocket communication system using Node.js, protobufjs and a simple HTTP server.
Node.jsWebSocketbinary protocol
0 likes · 19 min read

This article demonstrates how to combine Spring Boot and Netty, define a .proto file, generate Java classes with protoc, configure Maven dependencies, and implement both server and client handlers to exchange binary Protobuf messages with heartbeat and reconnection logic.
NettyProtobufSpring Boot
0 likes · 18 min read

This article explores the AMQP 0.9.1 protocol in depth, covering its core concepts, model components, layered architecture, lifecycle of exchanges, queues, channels, and bindings, as well as command classes, transport details, and practical usage patterns for building robust messaging systems.
AMQPMessage QueueMessaging Architecture
0 likes · 29 min read

The XinYue Club App migrated from an HTTP + JSON text protocol to a compact, AES‑GCM‑encrypted binary JCE protocol, detailing header/body structures, compression, signature validation, and security measures, while comparing the readability and debugging ease of JSON against the performance and protection benefits of binary communication.
AES encryptionJSONbinary protocol
0 likes · 12 min read

The article explains the Hermes data‑communication protocol built on MessagePack, detailing its lightweight design, language‑independent object serialization, binary format extensions, client‑server serialization workflows, object‑tree construction, and traversal strategies that together enable efficient data exchange for the Lest distributed cache system.
Backend ProtocolMessagePackObject Tree
0 likes · 24 min read
