<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[A Node.js momery question which is not about colyseus, but MULTI-PLAYER online game]]></title><description><![CDATA[<p>My game has a unlimited size map, and every grid of the map is lazy initialized as soon as any player discover it. I cached the data of map grids in a Dictionary with keys such as &quot;x,y&quot;. When the number of players comes to 200, as they discover more and more regions of the map, the memory of my game will increace to 1G in one hour, and be killed by system soon.<br />
I have tried to cache the map data into redis asyncly, but it will increace the cpu and I/O pressure obviously, and brings me many async logic bugs. So my question is, do I have any other choise to cache the map data?</p>
]]></description><link>http://discuss.colyseus.io/topic/399/a-node-js-momery-question-which-is-not-about-colyseus-but-multi-player-online-game</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 14:44:41 GMT</lastBuildDate><atom:link href="http://discuss.colyseus.io/topic/399.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 19 Sep 2020 12:07:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to A Node.js momery question which is not about colyseus, but MULTI-PLAYER online game on Invalid Date]]></title><description><![CDATA[<p>My game has a unlimited size map, and every grid of the map is lazy initialized as soon as any player discover it. I cached the data of map grids in a Dictionary with keys such as &quot;x,y&quot;. When the number of players comes to 200, as they discover more and more regions of the map, the memory of my game will increace to 1G in one hour, and be killed by system soon.<br />
I have tried to cache the map data into redis asyncly, but it will increace the cpu and I/O pressure obviously, and brings me many async logic bugs. So my question is, do I have any other choise to cache the map data?</p>
]]></description><link>http://discuss.colyseus.io/post/1318</link><guid isPermaLink="true">http://discuss.colyseus.io/post/1318</guid><dc:creator><![CDATA[zgz682000]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>