Tagged articles
Protocol Design
45 articles · Page 1 of 1
A comprehensive 12-question guide covering authentication vs authorization fundamentals, stateful vs stateless session trade-offs, five architectural selection dimensions, cost modeling across team sizes, migration strategies from custom sessions to unified identity platforms, JWT token revocation patterns, Keycloak's scope limitations for fine-grained permissions, protocol mixing anti-patterns, and layered auth architecture principles.
Architecture SelectionAuthNAuthZ
0 likes · 26 min read

This article explains why MCP clients must distinguish between JSON-RPC protocol errors and tool business failures (isError: true), outlining three error categories—request unintelligible, tool execution failure, and result validation failure—and showing how proper separation enables correct retry logic, user feedback, and audit logging.
JSON-RPCMCPProtocol Design
0 likes · 8 min read

The article explains how ACP v2 decouples message insertion from turn completion, making session/prompt responses only acknowledge insertion while deferring completion, errors, and cancellations to session-level state_update notifications, requiring clients to maintain separate tracking for submission receipt and session activity.
ACPJSON-RPCProtocol Design
0 likes · 15 min read

Harmovela is an open coordination protocol that complements MCP by handling asynchronous, incremental, and replayable continuous coordination across agents, tools, memory, and runtimes, covering seven dimensions including events, tasks, state, context, delegation, recovery, and governance, with multi-language implementations and transport bindings.
AI infrastructureAgent CoordinationHarmovela
0 likes · 6 min read

This article details integrating Netty with Spring Boot to build a scalable TCP long-connection gateway, covering binary protocol design with length-field framing, heartbeat detection using IdleStateHandler, session management with Redis and local maps, single-node and Redis Pub/Sub cluster push mechanisms, and performance tuning tips including Epoll transport and thread pool isolation.
ClusterEpollGateway
0 likes · 25 min read

This article walks through building a production‑grade Netty TCP server, covering protocol design, reactor threading, back‑pressure handling, session management, authentication, heartbeats, scaling to hundreds of thousands of connections, cloud‑native deployment, graceful shutdown, observability, reliability, and security considerations.
NettyProtocol DesignTCP
0 likes · 45 min read

The article recounts Gopher’s explosive 997% traffic growth in 1993, the fee announcement that triggered its rapid decline, the protocol’s menu‑only design and lack of hyperlinks, and how the Web’s open, link‑rich approach ultimately eclipsed Gopher, leaving only a few legacy servers today.
GopherInternet HistoryProtocol Design
0 likes · 11 min read

The article explains how to transform a conventional, human‑read SOP into an AI‑native, protocol‑driven workflow by orchestrating multiple Skills, detailing the role shift, protocol design steps, customization tips, and the broader implication that protocol design becomes the key asset in the Agent era.
AI NativeAI agentsProtocol Design
0 likes · 8 min read

A 90‑minute live discussion with three industry experts dissects why AI agents often stall after a successful demo, examining protocol collaboration, self‑evolution capabilities, and token‑cost control, while offering concrete engineering, management, and business‑value insights for enterprise AI adoption.
AI agentsAI codingProtocol Design
0 likes · 18 min read


21CTOJun 30, 2026 · Backend Development
The IETF’s new RFC 10008 defines a QUERY HTTP method that combines GET’s safety and idempotence with POST’s ability to carry large request bodies, offering a standardized way for API designers to send complex, read‑only queries without the limitations of URL‑encoded parameters.
GET vs POSTGraphQLHTTP
0 likes · 7 min read

A technical review reveals that Telegram’s MTProto protocol exposes a permanent 64‑bit device identifier (auth_key_id) in clear text, enabling passive observers—including ISPs, mobile carriers, and state surveillance—to track users across app restarts, IP changes, VPNs, and even Tor, rendering secret chats and PFS ineffective.
MTProtoProtocol DesignTelegram
0 likes · 11 min read

MCP (Model Context Protocol) is an open standard that lets AI applications connect to external systems through a unified client‑server model, exposing Tools, Resources, and Prompts, while addressing security, permission, and audit concerns to make large‑model deployments more reusable and controllable.
AI IntegrationModel Context ProtocolProtocol Design
0 likes · 4 min read

This chapter provides a detailed analysis of designing complex communication protocols, covering the StringProtocol format, a JSON-based protocol integrated with FastJSON, and strategies for efficiently handling large message bodies using session attachment and decoder state management, complete with code examples and best‑practice recommendations.
FastjsonJavaProtocol Design
0 likes · 12 min read

This article demystifies the Model Context Protocol (MCP) by walking through a practical fetch-mcp example, then detailing the JSON-RPC 2.0 application layer interactions — initialization, tool listing, and tool calling — and comparing STDIO versus Streamable HTTP transport layers for remote MCP server communication.
AI EngineeringJSON-RPCLLM Tool Integration
0 likes · 11 min read

Google’s open‑source A2A (Agent‑to‑Agent) protocol, unveiled at Google Cloud Next 2025, defines a standardized, secure, Web‑based framework that lets heterogeneous AI agents discover each other, negotiate interactions, and manage cross‑agent tasks, supporting multimodal communication, long‑running jobs, and push notifications.
A2A ProtocolAI agentGoogle Cloud
0 likes · 11 min read

This article explains what TCP sticky packets are, why they occur due to rapid sending, slow reading, or buffer limits, and presents practical solutions such as fixed‑length framing, delimiters, padding, and the Nagle algorithm to ensure reliable data parsing.
Nagle algorithmProtocol DesignTCP
0 likes · 5 min read

The article walks through every stage of a web request—from IPv4 addressing, NAT, and DNS resolution through CDN proximity and TCP stream handling, to HTTP framing, CGI versus FastCGI processing, stateless versus stateful server models, and finally database scaling techniques such as sharding and Redis caching.
CDNCGIDNS
0 likes · 21 min read

The article reviews ten years of RDMA development, tracing its origins, the rise and pitfalls of RoCEv1/v2, alternative approaches like iWARP and Cisco usNIC, and recent modernizations such as AWS SRD, Google Falcon and UltraEthernet, highlighting why protocol design choices have repeatedly stalled industry progress.
AI AcceleratorsProtocol DesignRDMA
0 likes · 27 min read

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 IntegrationComponentizationProtobuf
0 likes · 20 min read

The article reviews the rapid growth of audio‑video applications, categorizes media transmission scenarios into generic VoD, RTC and Live, examines Kuaishou’s optimization practices with protocols such as KTP, LAS, KLP and AAS, and introduces the next‑generation CMTP protocol designed to unify and extend these solutions across all use cases.
CMTPKTPProtocol Design
0 likes · 12 min read

This article explains how Tencent’s internal high‑availability service curriculum emphasizes architecture boundaries, unified protocol definitions using JCE, a unified PushAPI, monitoring and feedback mechanisms, and the organizational impact of aligning system and team boundaries to achieve scalable, reliable backend services.
BackendProtocol Designdistributed-systems
0 likes · 14 min read


ITPUBOct 26, 2022 · Backend Development
This article walks through practical trade‑offs in designing a Go microservice framework, covering protocol choices, data transport, network handling, serialization methods, service registry options, routing algorithms, and rate‑limiting strategies, while highlighting real‑world implementation details and pitfalls.
GoProtocol DesignRouting
0 likes · 12 min read

This article explains Baidu’s custom bdtls security communication protocol for mini‑programs, detailing its TLS 1.3‑based architecture, DHE‑RSA key exchange, AES‑GCM encryption, implementation on both server and client sides, and the strategies used to achieve strong security, low latency, high availability, and extensibility.
Protocol DesignTLSbdtls
0 likes · 23 min read

Baidu’s bdtls protocol adapts TLS 1.3 for mini‑programs, delivering mutual authentication, AES‑128‑GCM encryption, RSA‑signed Diffie‑Hellman key exchange, sub‑10 % handshake latency, and extensible multi‑business support to defend against static, dynamic and cheating attacks while ensuring high availability.
Protocol DesignTLSbdtls
0 likes · 22 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 explains the motivation, design principles, model architecture, and implementation challenges of rebuilding ByteDance's Node.js RPC system, covering DDD‑based decomposition, protocol and connection abstractions, multi‑protocol nesting, client/server creation APIs, and performance‑optimized context extensions.
DDDNode.jsProtocol Design
0 likes · 14 min read

The article analyzes WeChat's success by detailing its three‑pronged strategy of precise product timing, agile project management, and robust technical support, and explains how the team applies agile attitudes, modular design, extensible protocols, disaster‑recovery mechanisms, and fine‑grained monitoring to operate a massive, highly available system.
Protocol DesignWeChatagile development
0 likes · 18 min read

The article analyzes the core technical challenges of mobile instant‑messaging services—battery consumption, limited traffic, unreliable networks—and explains how WeChat and Momo design hybrid short‑/long‑connection protocols, use protobuf, intelligent routing, load‑balancing, sharding and distributed algorithms to achieve high reliability and scalability.
IM architectureMomoProtobuf
0 likes · 12 min read

This article explains the fundamentals of RPC protocols, compares common designs such as HTTP/1.1, RESP, HTTP/2, and gRPC, and outlines the motivations and key features of Dubbo 3.0’s next‑generation protocol for better performance, extensibility, and cross‑language support.
DubboHTTP/2Protocol Design
0 likes · 10 min read

This article explains SkyWalking’s modular, protocol‑oriented and lightweight architecture, its core components, design principles, and advantages such as cross‑environment consistency, easy maintenance, high performance, and extensibility for both traditional and cloud‑native systems.
APMApache SkywalkingProtocol Design
0 likes · 12 min read

This article explains the design and implementation of an ABT (Auto‑Bidding Test) system that automates A/B decision cycles, covering client SDK architecture, protocol specifications, data‑point collection, resource‑placement experiments, and home‑page integration to accelerate product growth.
A/B testingABTProtocol Design
0 likes · 10 min read


JavaEdgeNov 16, 2019 · Backend Development
This guide walks through designing a Java RPC framework from the user's viewpoint, covering interface definition, client stub generation with dynamic proxies, flexible protocol and service discovery layers, server request handling, and key implementation steps, illustrated with diagrams and code snippets.
JavaProtocol DesignRPC
0 likes · 6 min read

This article delves into the internal design of NVMe over Fabrics, explaining its encapsulation scheme, command mapping, discovery mechanisms, and the extended Connect and Property commands that enable efficient, low‑latency storage networking across diverse fabric transports.
FabricsNVMeNVMe-oF
0 likes · 8 min read

This article provides a comprehensive overview of the MQTT protocol, covering its origin, design goals, packet structure—including fixed and variable headers, control types, flags, remaining length, and payload—while highlighting its suitability for IoT and limitations for large data transfers.
IoTMQTTMessaging Protocol
0 likes · 7 min read

This article dissects RocketMQ’s Remoting communication module, covering its architecture, class hierarchy, custom protocol design, message encoding/decoding, synchronous, asynchronous and one‑way communication modes, and the detailed client‑server interaction flow including timeout handling and callback execution.
JavaNettyProtocol Design
0 likes · 22 min read

This article explores the challenges of JavaScript‑Native communication in Android WebView, compares Android‑to‑JS and JS‑to‑Android invocation methods, and presents a custom, secure, and extensible JS bridge framework with protocol design, interceptors, annotations, and implementation examples for hybrid app development.
Hybrid AppJS BridgeJavaScript Interface
0 likes · 13 min read

This article distills practical design decisions for modern encrypted communication protocols—covering algorithm selection, versioning, PKI choices, library alternatives, replay protection, performance tuning, and latency considerations—while providing a concise appendix of fundamental cryptographic concepts and key references.
Protocol DesignTLSkey exchange
0 likes · 15 min read

This article explains the layered design of TLS, details the cryptographic primitives and cipher suites it uses, and provides guidance on selecting secure configurations while avoiding unsafe legacy algorithms.
Protocol DesignTLScipher suites
0 likes · 11 min read

This article explores the TLS protocol in depth, outlining its design objectives, cryptographic foundations, historical evolution, detailed handshake and record layer mechanisms, security analyses, common pitfalls, and lessons for designing robust modern encrypted communication protocols.
Protocol DesignTLSinformation security
0 likes · 12 min read

This article dissects the design of 58 Daojia’s universal real‑time messaging platform, detailing the challenges of end‑to‑cloud, cloud‑to‑end, and end‑to‑end communication, the shortcomings of traditional HTTP and push solutions, and the optimized TCP, message‑bus, RPC, and protocol extensions that achieve scalability, reliability, and cross‑account chat.
Message QueueProtocol DesignReal-time Messaging
0 likes · 12 min read

This article provides an in‑depth technical overview of Meizu's cloud sync service, covering its business scenarios, the evolution of its core SyncML‑based protocols, modular architecture across multiple data centers, performance optimizations such as traffic reduction and connection handling, as well as high‑availability, security, and future SDK‑API extensions.
High AvailabilityProtocol Designcloud sync
0 likes · 25 min read


21CTOMar 13, 2016 · Backend Development
This article details the design and implementation of 58’s real‑time messaging platform, covering its business background, overall architecture, protocol design for extensibility and debugging, and solutions for fast TCP reconnection to ensure stable, high‑throughput delivery for intra‑city freight services.
BackendProtocol DesignReal-time
0 likes · 9 min read

This article details Meizu's cloud synchronization service, covering its custom MZ‑SyncML protocol, semi‑sync mechanisms, file and one‑sync protocols, failure handling, service architecture, modular design, massive data routing, multi‑datacenter deployment, traffic optimization, and practical lessons learned.
Protocol Designcloud syncdata routing
0 likes · 14 min read


21CTONov 6, 2015 · Backend Development
This article analyzes the architectural choices behind WeChat and Momo instant‑messaging services, covering battery and traffic constraints, network reliability, the shift from XMPP to proprietary long/short connections, protocol design with protobuf, and operational strategies for scaling massive user bases.
ProtobufProtocol Designbackend architecture
0 likes · 12 min read

This article explains the fundamentals of instant messaging, its system characteristics, protocol layers (application, security, transport), practical protocol examples, and a detailed real‑time web chatroom design using HTTP long‑polling and backend architecture considerations.
Protocol Designbackend architectureinstant messaging
0 likes · 20 min read
