惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

美团技术团队
T
The Exploit Database - CXSecurity.com
aimingoo的专栏
aimingoo的专栏
小众软件
小众软件
T
Tailwind CSS Blog
V
V2EX
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
WordPress大学
WordPress大学
Hugging Face - Blog
Hugging Face - Blog
IT之家
IT之家
PCI Perspectives
PCI Perspectives
腾讯CDC
酷 壳 – CoolShell
酷 壳 – CoolShell
Recent Commits to openclaw:main
Recent Commits to openclaw:main
大猫的无限游戏
大猫的无限游戏
The Cloudflare Blog
N
News and Events Feed by Topic
博客园 - 三生石上(FineUI控件)
Help Net Security
Help Net Security
雷峰网
雷峰网
有赞技术团队
有赞技术团队
Last Week in AI
Last Week in AI
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
量子位
GbyAI
GbyAI
O
OpenAI News
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
AI
AI
S
Security Affairs
F
Fortinet All Blogs
L
LINUX DO - 最新话题
博客园 - 【当耐特】
Webroot Blog
Webroot Blog
Schneier on Security
Schneier on Security
W
WeLiveSecurity
Security Latest
Security Latest
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
T
Tenable Blog
L
LINUX DO - 热门话题
Google DeepMind News
Google DeepMind News
Simon Willison's Weblog
Simon Willison's Weblog
Cyberwarzone
Cyberwarzone
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
C
CERT Recently Published Vulnerability Notes
Engineering at Meta
Engineering at Meta
P
Palo Alto Networks Blog
博客园 - 叶小钗
T
Threatpost
H
Heimdal Security Blog
Microsoft Security Blog
Microsoft Security Blog

编程沉思录 - Featured

博客升级了~ C++如何计算普通类型的 Hash 值:基于 gcc/clang 源码分析 std::any 的性能开销:基于 libstd++ 源码分析 从源码角度解读 enable_shared_from_this Context的错误使用引发Panic的问题复盘 Go 1.22 可能将改变 for 循环变量的语义 剖析Golang Bigcache的极致性能优化 os.Chmod 时到底用 777 还是 0777? 高性能服务之优雅终止 Elasticsearch 学习:入门篇 个人博客及公众号常用工具 libco 的定时器实现:时间轮 FileBeat-Log 相关配置指南 Redis 事件循环器 (AE) 实现剖析 Elastic-Filebeat 实现原理剖析 Golang 标准库限流器 time/rate 使用介绍 微信 libco 协程库源码分析 C++ 智能指针的正确使用方式 C++ lambda 内 std::move 失效问题的思考 云风 coroutine 协程库源码分析 WebSocket 订单推送稳定性优化方案 深入理解网络 IO 模型 客户端秒级时间同步方案 muduo 源码剖析 自动生成数据库文档小工具的诞生 ClassViewer 的介绍及实现 首次半马记 结合 Guava 源码解读布隆过滤器 服务器校园网登录验证解决方案 第一篇博客
一个 Gin 缓存中间件的设计与实现
2021-06-15 · via 编程沉思录 - Featured
我们在开发 HTTP Server 的时候,经常有对接口内容做缓存的需求。例如,对于某些热点内容,我们希望做 1 分钟内的缓存。短期内缓存相同内容不会对业务造成实质影响,同时也会降低系统的整体负载。 有时我们需要把缓存…