<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Video Studio · IT小村</title><description>用代码拍科普：互联网后端与分布式技术动画短片 + 图文讲解</description><link>https://linhongcun.github.io/video-studio/</link><language>zh-CN</language><item><title>EP.22 后台改了价格，页面怎么还是旧的？</title><link>https://linhongcun.github.io/video-studio/episodes/cache-consistency/</link><guid isPermaLink="true">https://linhongcun.github.io/video-studio/episodes/cache-consistency/</guid><description>后台改了价格，页面怎么还是旧的？不打比方，直接拆开缓存和数据库一致性的四个坑：为什么删缓存而不是改缓存，为什么先改数据库再删缓存，删失败了怎么用消息队列重试或订阅 binlog 补上，主从延迟时回填为什么要读主库，最后用过期时间兜底，接受最终一致。（视频 4:47）</description><pubDate>Thu, 15 Oct 2026 16:00:00 GMT</pubDate><category>后端</category><category>服务端缓存</category><category>数据库</category></item><item><title>EP.21 两个库，怎么一起成功或一起失败？</title><link>https://linhongcun.github.io/video-studio/episodes/distributed-tx/</link><guid isPermaLink="true">https://linhongcun.github.io/video-studio/episodes/distributed-tx/</guid><description>下单付了钱，仓库却没扣库存。订单和库存分在不同的库里，怎么一起成功或一起失败？用驿站和拿对讲机的调度员讲两阶段提交，用封条讲 TCC 的预留、确认、取消，用先出库再补回讲 Saga，用条子和邮局讲可靠消息与最终一致。（视频 4:28）</description><pubDate>Thu, 15 Oct 2026 16:00:00 GMT</pubDate><category>后端</category><category>数据库</category><category>分布式事务</category></item><item><title>EP.20 两个订单，怎么撞成同一个号了？</title><link>https://linhongcun.github.io/video-studio/episodes/global-id/</link><guid isPermaLink="true">https://linhongcun.github.io/video-studio/episodes/global-id/</guid><description>红站蓝站各打出一个一模一样的订单条码。两个订单，怎么撞成同一个号了？拆库之后各站自己编号会撞号；雪花算法用时间色带、站徽章和流水戳拼出全村不撞的订单号。（视频 1:33）</description><pubDate>Wed, 14 Oct 2026 16:00:00 GMT</pubDate><category>后端</category><category>数据库</category><category>全局唯一ID</category></item><item><title>EP.19 大促一到，下单怎么就卡住了？</title><link>https://linhongcun.github.io/video-studio/episodes/db-sharding/</link><guid isPermaLink="true">https://linhongcun.github.io/video-studio/episodes/db-sharding/</guid><description>大促零点一过，下单按钮转了半天圈。原因可能有很多，今天说其中一个：所有订单都挤在一台数据库、一张表里。这一期讲分库分表。（视频 2:12）</description><pubDate>Wed, 14 Oct 2026 16:00:00 GMT</pubDate><category>后端</category><category>数据库</category><category>分库分表</category></item><item><title>EP.18 刚改的昵称，怎么又变回去了？</title><link>https://linhongcun.github.io/video-studio/episodes/db-replication/</link><guid isPermaLink="true">https://linhongcun.github.io/video-studio/episodes/db-replication/</guid><description>刚改完昵称，一刷新又变回旧的了。你的修改其实没丢，你只是读到了一台还没跟上的「从库」。这一期讲主从复制和读写分离。（视频 2:32）</description><pubDate>Wed, 14 Oct 2026 16:00:00 GMT</pubDate><category>后端</category><category>数据库</category><category>主从复制</category></item><item><title>EP.17 两个人抢同一件货，听谁的？</title><link>https://linhongcun.github.io/video-studio/episodes/db-lock/</link><guid isPermaLink="true">https://linhongcun.github.io/video-studio/episodes/db-lock/</guid><description>约 2 分 10 秒的动画科普：从两个人同时抢同一件 T 恤说起，讲清为什么要加锁（丢失更新）、读锁和写锁、行锁和表锁、等锁与死锁，以及悲观锁和乐观锁两种思路。（视频 2:10）</description><pubDate>Wed, 14 Oct 2026 16:00:00 GMT</pubDate><category>后端</category><category>数据库</category><category>锁</category></item><item><title>EP.16 没封箱的包裹，别人看得见吗？</title><link>https://linhongcun.github.io/video-studio/episodes/db-isolation/</link><guid isPermaLink="true">https://linhongcun.github.io/video-studio/episodes/db-isolation/</guid><description>约 1 分 30 秒的动画科普：从朋友账上的 100 块看见了又没了说起，用仓库里同时打包的包裹打比方，讲清隔离级别是什么，以及脏读、不可重复读、幻读三种问题和规矩越严要付出的代价。（视频 1:30）</description><pubDate>Wed, 14 Oct 2026 16:00:00 GMT</pubDate><category>后端</category><category>数据库</category><category>事务</category></item><item><title>EP.15 扣了钱，对方没到账？</title><link>https://linhongcun.github.io/video-studio/episodes/db-transaction/</link><guid isPermaLink="true">https://linhongcun.github.io/video-studio/episodes/db-transaction/</guid><description>约 1 分 15 秒的动画科普：从转账扣了钱对方却没到账说起，讲清转账在数据库里是两步、为什么要把两步装进同一个包裹（事务）、都做成再封箱寄出（提交）、半路出错就倒着撤回（回滚），以及要么整个寄到、要么原样退回（原子性）。（视频 1:15）</description><pubDate>Tue, 13 Oct 2026 16:00:00 GMT</pubDate><category>后端</category><category>数据库</category><category>事务</category></item><item><title>EP.14 加个索引，为啥就快了？</title><link>https://linhongcun.github.io/video-studio/episodes/db-index/</link><guid isPermaLink="true">https://linhongcun.github.io/video-studio/episodes/db-index/</guid><description>约 2 分 8 秒的动画科普：从搜订单号一下子就出来说起，用一本厚书打比方，讲清没有目录只能一页页翻（全表扫描）、先查目录直达（索引）、目录分好几层（B+ 树），以及目录不是越多越好（拖慢写入、占空间、要挑选）。（视频 2:08）</description><pubDate>Tue, 13 Oct 2026 16:00:00 GMT</pubDate><category>后端</category><category>数据库</category><category>索引</category></item><item><title>EP.13 一个服务出故障，为什么整个网站没跟着崩？</title><link>https://linhongcun.github.io/video-studio/episodes/circuit-breaker/</link><guid isPermaLink="true">https://linhongcun.github.io/video-studio/episodes/circuit-breaker/</guid><description>约 2 分 9 秒的动画科普：从运费险服务出了故障、整个网站却没跟着崩说起，沿着结算页同步调用运费险服务（举例）的链路，讲清什么是雪崩（级联故障）、为什么只靠超时不够、熔断怎么跳闸并快速失败（结算页少显示这一项，下单付款照常）、熔断器关闭是通打开是断的反直觉之处、半开试探怎么恢复，最后用一句话区分限流、熔断、降级，串起扛住高峰第五招。（视频 2:09）</description><pubDate>Tue, 13 Oct 2026 16:00:00 GMT</pubDate><category>后端</category><category>熔断</category><category>高可用</category></item><item><title>EP.12 搜索页和结算页，为什么两个价不一样？</title><link>https://linhongcun.github.io/video-studio/episodes/degradation/</link><guid isPermaLink="true">https://linhongcun.github.io/video-studio/episodes/degradation/</guid><description>约 1 分 52 秒的动画科普：从搜索页和结算页两个价不一样说起，沿着到手价计算链路（商品价格、优惠券、红包），讲清红包服务卡住怎么拖慢整条核心链路、什么是降级、红包异常时先不把红包算进到手价的自动降级，以及大促时关掉搜索推荐页红包计算、把资源留给购物车和结算页的主动降级（关空调，保冰箱），最后把扛住高峰四招串起来。（视频 1:52）</description><pubDate>Mon, 12 Oct 2026 16:00:00 GMT</pubDate><category>后端</category><category>降级</category><category>高可用</category></item><item><title>EP.11 手一抖点了两次支付，为什么只扣一次钱？</title><link>https://linhongcun.github.io/video-studio/episodes/idempotency/</link><guid isPermaLink="true">https://linhongcun.github.io/video-studio/episodes/idempotency/</guid><description>约 2 分 10 秒的动画科普：用取餐号的比喻，讲清请求为什么会重复、什么是重试和幂等、后台怎么靠唯一 ID 认出重复，再用一句点出防重复提交，最后把消息队列、限流、幂等串成扛住高峰三招。（视频 2:10）</description><pubDate>Mon, 12 Oct 2026 16:00:00 GMT</pubDate><category>后端</category><category>幂等</category><category>高并发</category></item><item><title>EP.10 抢票那一刻，为什么总提示系统繁忙？</title><link>https://linhongcun.github.io/video-studio/episodes/rate-limit/</link><guid isPermaLink="true">https://linhongcun.github.io/video-studio/episodes/rate-limit/</guid><description>约 2 分 11 秒的动画科普：用景区门口限量放人的比喻，讲清不限流为什么会挤垮、什么是限流和 QPS、令牌桶怎么发票又允许一小波突发，再各用一句点出熔断和降级。（视频 2:11）</description><pubDate>Mon, 12 Oct 2026 16:00:00 GMT</pubDate><category>后端</category><category>限流</category><category>高并发</category></item><item><title>EP.09 双十一下单那么多，为什么不丢单？</title><link>https://linhongcun.github.io/video-studio/episodes/message-queue/</link><guid isPermaLink="true">https://linhongcun.github.io/video-studio/episodes/message-queue/</guid><description>约 2 分 20 秒的动画科普：用后厨取号叫号的比喻，讲清同步为什么会堵、异步怎么先回「已收到」、消息队列（MQ）怎么削峰、生产者和消费者是谁，以及做完才划掉为什么不丢单；顺带点名 Kafka 和 RabbitMQ。（视频 2:20）</description><pubDate>Mon, 12 Oct 2026 16:00:00 GMT</pubDate><category>后端</category><category>消息队列</category><category>高并发</category></item><item><title>EP.08 数据库明明有数据，为什么还要再存一份？</title><link>https://linhongcun.github.io/video-studio/episodes/server-cache/</link><guid isPermaLink="true">https://linhongcun.github.io/video-studio/episodes/server-cache/</guid><description>约 2 分 12 秒的动画科普：用后厨备菜台的比喻，讲清没有缓存时每单都查数据库、命中与没命中、过期时间（TTL）、更新数据时删掉缓存，以及它和浏览器缓存、CDN、负载均衡怎么配合。（视频 2:12）</description><pubDate>Mon, 12 Oct 2026 16:00:00 GMT</pubDate><category>后端</category><category>服务端缓存</category><category>性能</category></item><item><title>EP.07 同一张图，为什么第二次打开不用再下？</title><link>https://linhongcun.github.io/video-studio/episodes/browser-cache/</link><guid isPermaLink="true">https://linhongcun.github.io/video-studio/episodes/browser-cache/</guid><description>约 2 分 20 秒的动画科普：用自家冰箱的比喻，讲清浏览器缓存的第一次下载、第二次直接用、保质期（max-age）、过期后先问一句（ETag 与 304），以及它和 CDN、负载均衡的区别与配合。（视频 2:20）</description><pubDate>Sun, 11 Oct 2026 16:00:00 GMT</pubDate><category>网络基础</category><category>浏览器缓存</category><category>性能</category></item><item><title>EP.06 为什么一家店忙不过来，还要开好几家一起干？</title><link>https://linhongcun.github.io/video-studio/episodes/load-balancing/</link><guid isPermaLink="true">https://linhongcun.github.io/video-studio/episodes/load-balancing/</guid><description>约 2 分 11 秒的动画科普：用门口导购分柜台的比喻，讲清单点故障、多台后端服务器、轮询与最少连接、健康检查和弹性扩展，以及负载均衡和 CDN 怎么配合。（视频 2:11）</description><pubDate>Sun, 11 Oct 2026 16:00:00 GMT</pubDate><category>网络基础</category><category>负载均衡</category><category>高可用</category></item><item><title>EP.05 网站离你那么远，为什么还这么快？</title><link>https://linhongcun.github.io/video-studio/episodes/cdn/</link><guid isPermaLink="true">https://linhongcun.github.io/video-studio/episodes/cdn/</guid><description>约 2 分 13 秒的动画科普：用连锁店就近取货的比喻，讲清 CDN 的边缘节点、DNS 就近调度、回源、缓存命中与过期，以及为什么订单、余额这类内容仍要回源站。（视频 2:13）</description><pubDate>Sun, 11 Oct 2026 16:00:00 GMT</pubDate><category>网络基础</category><category>CDN</category><category>缓存</category></item><item><title>EP.04 网站怎么记住你已经登录？</title><link>https://linhongcun.github.io/video-studio/episodes/cookie-session/</link><guid isPermaLink="true">https://linhongcun.github.io/video-studio/episodes/cookie-session/</guid><description>约 1 分 36 秒的动画科普：跟着一次登录走一遍，服务器发来编号，浏览器存成 Cookie、刷新和换页时自动带上，服务器按编号查到会话认出你；退出时服务器作废会话、浏览器删掉 Cookie。（视频 1:35）</description><pubDate>Sun, 11 Oct 2026 16:00:00 GMT</pubDate><category>网络基础</category><category>Cookie</category><category>Session</category></item><item><title>EP.03 输入网址后，怎么找到服务器？</title><link>https://linhongcun.github.io/video-studio/episodes/dns/</link><guid isPermaLink="true">https://linhongcun.github.io/video-studio/episodes/dns/</guid><description>约 2 分 5 秒的动画科普：把敲下网址后的零点几秒放慢来看，浏览器先翻本地缓存，再交给递归解析器，从根问到顶级域，最后由权威服务器给出 IP 地址，TTL 决定这条记录能缓存多久。（视频 2:05）</description><pubDate>Sun, 11 Oct 2026 16:00:00 GMT</pubDate><category>网络基础</category><category>DNS</category></item><item><title>EP.02 HTTPS 为什么安全？</title><link>https://linhongcun.github.io/video-studio/episodes/https/</link><guid isPermaLink="true">https://linhongcun.github.io/video-studio/episodes/https/</guid><description>约 2 分 46 秒的动画科普：跟着一次登录，看懂 HTTP 明文为什么会泄露密码，HTTPS 怎样用对称加密、各自算出钥匙、证书核对身份和完整性校验保护传输，以及小锁为什么不等于网站可信。（视频 2:46）</description><pubDate>Sun, 11 Oct 2026 16:00:00 GMT</pubDate><category>网络基础</category><category>HTTPS</category></item><item><title>EP.01 浏览器输入网址后发生了什么？</title><link>https://linhongcun.github.io/video-studio/episodes/http-request/</link><guid isPermaLink="true">https://linhongcun.github.io/video-studio/episodes/http-request/</guid><description>约 3 分 10 秒的动画科普：从敲下网址到页面出现，浏览器跑完五步——查缓存、找地址、建连接、发请求拿响应、把页面画出来。（视频 3:10）</description><pubDate>Sun, 11 Oct 2026 16:00:00 GMT</pubDate><category>网络基础</category><category>HTTP</category></item></channel></rss>