<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Lua on Plbear | 后端架构 · AI工程 · 云原生技术博客</title><link>https://www.plbear.com/tags/lua/</link><description>Recent content in Lua on Plbear | 后端架构 · AI工程 · 云原生技术博客</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Wed, 16 Feb 2022 09:00:00 +0800</lastBuildDate><atom:link href="https://www.plbear.com/tags/lua/index.xml" rel="self" type="application/rss+xml"/><item><title>Redis 原子防重：多渠道消息推送去重实战</title><link>https://www.plbear.com/posts/2022-02-16-redis-atomic-dedup/</link><pubDate>Wed, 16 Feb 2022 09:00:00 +0800</pubDate><guid>https://www.plbear.com/posts/2022-02-16-redis-atomic-dedup/</guid><description>一条投递提醒可能要同时发短信、站内信、公众号模板消息，重复推送比漏推更让用户烦。用 Redis SETNX + Lua 原子防重，把「同一业务事件只推一次」变成硬约束。</description></item></channel></rss>