Envoy Proxy Insider - Event-Driven and Threading Design
· โ˜• 6 min read
An excerpt from my book 'Envoy Proxy Insider', covering the Event-Driven Framework and Threading Model. These are the foundational core of Envoy Proxy. Like other middleware with high-load, low-latency requirements, Envoy's design must consider load scheduling and flow control. A good scheduling design must balance throughput, response time, and resource consumption. This article primarily discusses topics related to events, scheduling, and multi-threaded coordination.

My Book - Envoy Proxy Insider
· โ˜• 2 min read
Envoy Insider - A book focused on the mechanisms and implementations of Envoy Proxy

ChatBlog - An Experiment in AI Interaction for Personal Blogs
· โ˜• 5 min read
Adding a chatbot to a blog is both interesting and practical. It can answer readers' simple questions based on the blog content and the author's introduction articles. ChatBlog (chat + blog) might be an engaging and useful model for interactive technical sharing. This article documents my exploration and implementation process.

Linux: Everything is a file; peekfd: peek write/read of every file
· โ˜• 2 min read
Most of the data flows in Linux, including inter-process communication, sockets, etc., are implemented through file descriptors (fd) reading and writing. When troubleshooting, if you can peek at the fd traffic, many problems can be quickly proved/falsified. This article introduces an old tool peekfd, which can accomplish this task in a certain environment.

Please prove that it is the network's fault - the lost Envoy sidecar
· โ˜• 4 min read
Network quality issues such as packet loss can be discovered, quantified, and monitored using Envoy sidecar. During testing, Envoy can be used as an egress on the client side such as JMeter to monitor traffic. This article discusses one of the implementation solutions.

Flow control and backpressure of Envoy/Istio
· โ˜• 14 min read
Like all proxy software, Envoy takes flow control seriously because CPU/memory resources are limited. But flow control is never a simple matter. It involves all the players in the data flow path. This article tries to explain the principles and synergies involved.

My new book - Istio & Envoy Insider
· โ˜• 3 min read
Istio & Envoy Insider - A book focus on Envoy Proxy & Istio mechanism and implementation deep dive

Envoy WASM Network Filter to fix illegal HTTP Header
· โ˜• 5 min read
The normal HTTP request was responded with HTTP status code 400 after migrating to Istio. The problem traffic has HTTP headers that do not comply with the HTTP 1.1 specification. So I try to develop an Envoy WASM Network Filter to fix the illegal HTTP Header.