talentzemin
发布时间:2026-11-01 | 浏览:1
talentzemin 博客园 首页 新随笔 联系 订阅 管理 2026年9月20日 [译] We replaced Redis with MySQL for inventory reservations—and it scaled 摘要: We replaced Redis with MySQL for inventory reservations—and it scaled 我们用 MySQL 取代 Redis 实现库存预留——且成功支撑起高并发扩展 How we used SKIP LOCKED, composite primar 阅读全文 posted @ 2026-09-20 09:16 talentzemin 阅读(17) 评论(0) 推荐(0) 2026年9月4日 [译] The Browser's Main Thread Is Expensive 摘要: 原文:https://kciter.so/posts/the-expensive-main-thread/en/ What comes to mind when you hear “frontend optimization”? For most of us it’s things like red 阅读全文 posted @ 2026-09-04 16:23 talentzemin 阅读(19) 评论(0) 推荐(0) 2026年8月21日 为什么是"There is a boy",而不是"A boy is there"? 摘要: 一、一个看似奇怪的语感 "A boy is there." 这句话,语法上完全合法,母语者也能听懂,但几乎没人会这么说。大多数情况下,自然的说法是: There is a boy there. 两句话字面意思相近,为什么后者才是"正常"说法?答案不在语法本身,而在语用/语篇层面——具体来说,是英语主 阅读全文 posted @ 2026-08-21 13:34 talentzemin 阅读(12) 评论(0) 推荐(0) 2026年8月17日 用编程视角理解英语语法 摘要: 一、数学里的函数:自变量决定了"求值"需要几个输入 在数学里,一个函数被定义出来的第一件事,就是规定它需要几个自变量: f(x) = x² // 一元函数,需要 1 个输入 g(x, y) = x + y // 二元函数,需要 2 个输入 h(x, y, z) = x·y + z // 三元函数,需 阅读全文 posted @ 2026-08-17 13:11 talentzemin 阅读(26) 评论(0) 推荐(0) 2026年8月9日 Channel<T> 摘要: 一、它是什么 System.Threading.Channels 提供的 Channel<T>,是一个异步安全的生产者-消费者管道。数据从 Writer 端写入,从 Reader 端读出,中间是一根"管道",这也是名字的由来。 var channel = Channel.CreateUnbounde 阅读全文 posted @ 2026-08-09 14:35 talentzemin 阅读(19) 评论(0) 推荐(0) B/S 系统中的"长任务"该怎么设计? 摘要: 写在前面 在 B/S 系统里,导出报表、批量处理、AI 分析、数据同步……这类"跑几秒到几分钟"的操作,如果还按照传统的"发请求 - 等响应"来做,几乎必然会遇到网关超时、页面卡死、用户重复点击等一堆问题。 这类操作我们统称为长任务(Long-Running Task)。 本文梳理一套通用的设计模式 阅读全文 posted @ 2026-08-09 10:25 talentzemin 阅读(19) 评论(0) 推荐(0) 2026年8月7日 Asynchronous Programming 摘要: 原文:https://github.com/davidfowl/AspNetCoreDiagnosticScenarios/tree/master Asynchronous programming has been around for several years on the .NET platf 阅读全文 posted @ 2026-08-07 14:44 talentzemin 阅读(15) 评论(0) 推荐(0) ASP.NET Core Guidance 摘要: 原文:https://github.com/davidfowl/AspNetCoreDiagnosticScenarios/tree/master ASP.NET Core is a cross-platform, high-performance, open-source framework fo 阅读全文 posted @ 2026-08-07 14:43 talentzemin 阅读(24) 评论(0) 推荐(0) 2026年8月5日 协作式检查点:进度条、CancellationToken 和 AI Agent 的 steering,原来是同一个设计模式 摘要: 引子 最近在研究开源 AI coding agent Pi 的架构,看到它处理"用户中途插话"这个功能(官方叫 steering)的实现方式时,忽然意识到一件事:这套机制我们早就在别的地方见过无数次了——进度条的取消按钮、.NET 的 CancellationToken,本质上都是同一个东西。 这篇 阅读全文 posted @ 2026-08-05 17:32 talentzemin 阅读(20) 评论(0) 推荐(0) [译] Eight Myths on Software Engineering and GenAI 摘要: sourceUrl: https://queue.acm.org/detail.cfm?id=3807963 Examining the most common misconceptions 审视最常见的误解 Jenna Butler, Brian Houck, Margaret-Anne Stor 阅读全文 posted @ 2026-08-05 13:09 talentzemin 阅读(42) 评论(0) 推荐(0) 下一页 公告 博客园 © 2004-2026 浙公网安备 33010602011771号 浙ICP备2021040463号-3