秋来冬风的博客

我的高吞吐http2服务器优化经验分享系列

快速限流路径和慢速业务路径设计,提升web服务可用性

分享我的快速限流路径设计经验,CDN、IP、可用资源(CPU和内存)、业务特定,层层设防,将限流效果最大化。

自己实现ip限流可以不用redis,内存哈希表就足够了

分享我对限流的思考,自己用redis实现限流大可不必,它比内存哈希表性能差,如果需要多节点全局限流,用现代CDN是更好的选择。

优化http2 Web Server 之Go标准库和运行时可修改的源代码

分享一些发现的Go HTTP2 服务器标准库与运行时源码可修改点,包含调帧大小、减内存分配、控 GC 占用、调goroutine栈大小等。

Why Not Use TLS to Connect to the Database Instead of WireGuard?

TLS and WireGuard connection databases are analyzed from four dimensions: configuration frequency, quantum security, anti intrusion, and scalability. WireGuard has obvious advantages in small-scale scenarios and is an excellent alternative to TLS.

为什么不要使用TLS连接数据库,而用WireGuard替代?

TLS 和 WireGuard 连接数据库 从配置次数、量子安全、抗入侵和扩展性四个维度分析。发现WireGuard在小规模场景下优势明显,是替代TLS的绝佳选择。

如何做到高可用高吞吐的web服务 | 全栈优化实践

分享搭建高可用高吞吐 Web 服务的实战经验,涵盖服务器选型、HTTP/2 优化、内核参数调优(TCP/IP、缓冲区、连接队列)、CDN 加速、限流策略与数据库连接优化,提升Web吞吐量与稳定性。