Skip to content
Tagged articles

protocol implementation

3 articles · Page 1 of 1
TonyBai
TonyBai
Oct 20, 2026 · Backend Development

Go's http.Server Exposes Internal Middleware via HandleRequest for HTTP/3

Go proposal #77441 adds Server.HandleRequest to net/http, exposing internal request-processing middleware (OPTIONS *, DefaultServeMux fallback, panic recovery) so HTTP/3 and other protocol implementations can reuse standard library behavior without code duplication, while also enabling full-server integration testing.

API designGoHTTP/3
0 likes · 18 min read
Go's http.Server Exposes Internal Middleware via HandleRequest for HTTP/3
Niu Liu
Niu Liu
Jul 5, 2026 · Databases

How to Build a MySQL Protocol Server from Scratch for the DSP Database

This article walks through the complete implementation of a MySQL‑compatible front‑end protocol in the DSP (Sloth) database, covering why MySQL compatibility matters, Netty pipeline design, packet framing, three‑step handshake, two‑level command routing, result‑set encoding, length‑encoded integers, variable substitution, and current limitations.

DSP DatabaseJavaLengthEncodedInteger
0 likes · 10 min read
How to Build a MySQL Protocol Server from Scratch for the DSP Database