<?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/%E4%BA%8B%E4%BB%B6%E8%B7%AF%E7%94%B1/</link><description>Recent content in 事件路由 on PlumePHP</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Tue, 08 Jun 2021 11:46:00 +0800</lastBuildDate><atom:link href="https://plumephp.com/tags/%E4%BA%8B%E4%BB%B6%E8%B7%AF%E7%94%B1/index.xml" rel="self" type="application/rss+xml"/><item><title>任务事件路由背压架构：别让一次击杀触发全服任务扫描</title><link>https://plumephp.com/game-server-quest-event-router-backpressure-architecture/</link><pubDate>Tue, 08 Jun 2021 11:46:00 +0800</pubDate><guid>https://plumephp.com/game-server-quest-event-router-backpressure-architecture/</guid><description>&lt;h2 id="背景一个小功能背后往往有多条状态链"&gt;背景：一个小功能背后往往有多条状态链&lt;/h2&gt;
&lt;p&gt;任务系统会消费大量事件：击杀怪物、采集、进入区域、完成副本、获得道具、和 NPC 对话。随着任务数量增加，最危险的做法是每来一个事件就扫描玩家身上所有任务，甚至扫描所有可接任务。战斗高峰时，击杀事件会把任务服务打成热点。&lt;/p&gt;</description></item></channel></rss>