<?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/%E6%89%80%E6%9C%89%E6%9D%83/</link><description>Recent content in 所有权 on PlumePHP</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Thu, 08 Jul 2021 09:49:00 +0800</lastBuildDate><atom:link href="https://plumephp.com/tags/%E6%89%80%E6%9C%89%E6%9D%83/index.xml" rel="self" type="application/rss+xml"/><item><title>世界对象租约架构：宝箱、机关和临时 Boss 谁来负责</title><link>https://plumephp.com/game-server-world-object-lease-architecture/</link><pubDate>Thu, 08 Jul 2021 09:49:00 +0800</pubDate><guid>https://plumephp.com/game-server-world-object-lease-architecture/</guid><description>&lt;h2 id="背景问题通常藏在正常路径之外"&gt;背景：问题通常藏在正常路径之外&lt;/h2&gt;
&lt;p&gt;开放世界里的对象经常不是永久存在的。一个宝箱可能只刷新十分钟，一个机关可能被某个分区负责，一个临时 Boss 可能跟随活动动态迁移。多个场景进程、分区服务和事件控制器都可能想操作它。如果没有租约，最容易出现的问题就是两个服务同时认为自己负责同一个对象，玩家重复开启宝箱或 Boss 状态被覆盖。&lt;/p&gt;</description></item></channel></rss>