- WeChat:
lzn121234121234 - Email:
lizining1231@outlook.com
一个从零做起,基于演进架构的 C++ 网络库 —— 它还很幼稚,但我正在持续开发中!
它是一个长期项目,欢迎任何形式的贡献与交流 🙌
- 开发时长:2026.2 – 至今
- 目标:用它学习底层的知识,并逐渐提升工程规范,最终把它打造成真实可用的网络库而非求职项目
- 现状:当前采取 epoll LT 模式,添加多线程后 (本地回环下) QPS 峰值 450.3k, P99 在 0-5ms。
还处于完善组件的时期,最近正在完善配置系统
正在积极接触开源,拥抱开源,尝试参与以下项目:
它叫做 豆浆技术 🐋,里面会整理我在开发中遇到的有趣的问题,例如:
- 《从阻塞开始:accept() 和 recv() 阻塞的本质及唤醒机制》 — 从一个“第二个客户端无法连接”的经典问题出发,深入操作系统知识,图解
accept()和recv()阻塞的本质、进程状态变迁与完整的唤醒链路梳理。 - 《连续两次QPS暴跌95%:新手第一次性能排查连踩七个坑?》 — 从 QPS 暴跌 95% 的困境出发,完整记录了从
docker-proxy到内核参数tcp_tw_reuse的曲折排查过程、七个典型误区,以及用 Linux 源码和利特尔定律推演问题根因的实战复盘。 - 《缓冲区共享导致的P99剧烈抖动——为什么一定要有Buffer和Connection类》 — 从发现 P99 诡异抖动开始,到定位到“共享缓冲区”这个幽灵 Bug,并自然生长出 Buffer 与 Connection 类的完整排查与决策过程。
- 《如何将一个阻塞IO服务器逐步重构为网络库(上)》 — 从阻塞IO开始,通过九轮重构将阻塞服务器逐步拆解为网络库组件的完整思路与踩坑经历。
-
Education:Zhejiang University of Technology · Public Administration · Freshman
- WeChat:
lzn121234121234 - Email:
lizining1231@outlook.com
A C++ network library built from scratch with evolutionary architecture — it's still immature, but I'm continuously improving it!
It's a long-term project. Contributions and discussions of any kind are warmly welcomed 🙌
- Timeline:Feb 2026 – Present
- Goal:Learn low-level knowledge, progressively improve engineering standards, and eventually build it into a production-ready network library (not just a portfolio project)
- Current Status:epoll LT mode with multi-threading, (loopback) 450.3k QPS with P99 under 0-5ms. Currently in the component-enhancement phase — working on the configuration system.
Actively exploring and embracing open source:
It's called 豆浆技术 🐋 (Soybean Tech), where I document interesting problems encountered during development, such as:
- Starting from Blocking: The Essence of accept() and recv() Blocking and Wake-up Mechanisms — Starting from the classic "second client cannot connect" problem, this article dives into the OS kernel to diagram the essence of blocking, process state transitions, and the complete wake-up chain for accept() and recv().
- QPS Crashed 95% Twice: A Rookie's First Performance Debugging Journey Through 7 Pitfalls — A complete, honest account of debugging a 95% QPS drop, from chasing
docker-proxyto uncovering thetcp_tw_reusekernel parameter, detailing 7 common misconceptions, with Linux kernel source code and Little's Law used to reason about the root cause. - P99 Jitter Caused by Shared Buffer — Why Buffer and Connection Classes Are Essential — A deep dive into troubleshooting erratic P99 latency, uncovering the "shared buffer" ghost bug through 20 rounds of stress testing, and the natural evolution of Buffer and Connection classes.
- How to Refactor a Blocking I/O Server into a Network Library (Part 1) — A detailed walkthrough of my 9-step refactoring journey from a blocking server to a component-based network library architecture.