<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>玩家迁移 on PlumePHP</title><link>https://plumephp.com/tags/%E7%8E%A9%E5%AE%B6%E8%BF%81%E7%A7%BB/</link><description>Recent content in 玩家迁移 on PlumePHP</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Wed, 29 Dec 2021 15:28:00 +0800</lastBuildDate><atom:link href="https://plumephp.com/tags/%E7%8E%A9%E5%AE%B6%E8%BF%81%E7%A7%BB/index.xml" rel="self" type="application/rss+xml"/><item><title>游戏服务器跨分片邮件路由架构设计</title><link>https://plumephp.com/game-server-cross-shard-mail-routing-architecture/</link><pubDate>Wed, 29 Dec 2021 15:28:00 +0800</pubDate><guid>https://plumephp.com/game-server-cross-shard-mail-routing-architecture/</guid><description>&lt;p&gt;邮件系统在单区单服里很容易实现：写一条收件箱记录即可。问题出现在跨服活动、合区、玩家迁移、全服补偿和渠道分区之后。发送方不一定知道玩家当前在哪个分片，收件箱可能正在迁移，重复投递会造成附件重复领取，投递失败又会引发客服工单。跨分片邮件路由架构的核心，是把“邮件意图”先写入全局投递流水，再由路由层找到收件箱权威位置，最后按幂等键投递。&lt;/p&gt;</description></item></channel></rss>