<?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[Filter  data]]></title><description><![CDATA[<p>Hello everyone , i have a question about the filter decorator ,  i want to filter the state only when  the client send a move event  to the room and not when he joins the room or when he sends other events  any idea please ?<br />
<img src="/assets/uploads/files/1656409113284-88594484-e0c9-429a-9f5e-40d32fe2669f-image-resized.png" alt="0_1656409114423_88594484-e0c9-429a-9f5e-40d32fe2669f-image.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://discuss.colyseus.io/topic/666/filter-data</link><generator>RSS for Node</generator><lastBuildDate>Tue, 18 Aug 2026 11:57:18 GMT</lastBuildDate><atom:link href="http://discuss.colyseus.io/topic/666.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 28 Jun 2022 09:42:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Filter  data on Tue, 28 Jun 2022 09:45:36 GMT]]></title><description><![CDATA[<p>Hello everyone , i have a question about the filter decorator ,  i want to filter the state only when  the client send a move event  to the room and not when he joins the room or when he sends other events  any idea please ?<br />
<img src="/assets/uploads/files/1656409113284-88594484-e0c9-429a-9f5e-40d32fe2669f-image-resized.png" alt="0_1656409114423_88594484-e0c9-429a-9f5e-40d32fe2669f-image.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://discuss.colyseus.io/post/1952</link><guid isPermaLink="true">http://discuss.colyseus.io/post/1952</guid><dc:creator><![CDATA[chaimae]]></dc:creator><pubDate>Tue, 28 Jun 2022 09:45:36 GMT</pubDate></item><item><title><![CDATA[Reply to Filter  data on Invalid Date]]></title><description><![CDATA[<p>Hi <a class="plugin-mentions-user plugin-mentions-a" href="http://discuss.colyseus.io/uid/1664">@chaimae</a>, can you describe your real-world scenario on why you need filters?</p>
<p>The filters are experimental and currently consume way too much CPU, I wouldn't recommend for production scenario with many clients.</p>
<p>See docs: <a href="https://docs.colyseus.io/colyseus/state/schema/#filtering-data-per-client" rel="nofollow">https://docs.colyseus.io/colyseus/state/schema/#filtering-data-per-client</a></p>
]]></description><link>http://discuss.colyseus.io/post/1953</link><guid isPermaLink="true">http://discuss.colyseus.io/post/1953</guid><dc:creator><![CDATA[endel]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Filter  data on Tue, 28 Jun 2022 12:56:22 GMT]]></title><description><![CDATA[<p>I'll explain the use case, I'm currently working on a project to put 1000 avatars in a 3D world, for that I put a test in place: a viewer that will launch 1000 clients (10 rooms with 100 clients each ) and which will at the same time send move events to the server to move the 1000 clients, on the other side we have a client which is a threejs client , this client listens to the state once a new client is created on the server side it adds it to a 'players entities' list and it receives the change of position of these clients, when I did my test I noticed that I have  a problem  for example if I have I launch 150 clients it's good it works, when I increase the number of clients I have some of the cubes(simulation of 3D avatars) that move and some that don't move, when I try to change the sending frequency of the move event to the server I notice an improvement of results that's why I thought as a solution to limit the sending of messages and to send  the messages according to the distance between the cubes (the avatars) that's why I thought about using filter .<br />
<img src="/assets/uploads/files/1656420933664-220e5a4e-f0fc-4fbb-96e1-d8609560db15-image-resized.png" alt="0_1656420936600_220e5a4e-f0fc-4fbb-96e1-d8609560db15-image.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://discuss.colyseus.io/post/1954</link><guid isPermaLink="true">http://discuss.colyseus.io/post/1954</guid><dc:creator><![CDATA[chaimae]]></dc:creator><pubDate>Tue, 28 Jun 2022 12:56:22 GMT</pubDate></item><item><title><![CDATA[Reply to Filter  data on Invalid Date]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://discuss.colyseus.io/uid/1">@endel</a>  any help please ?</p>
]]></description><link>http://discuss.colyseus.io/post/1957</link><guid isPermaLink="true">http://discuss.colyseus.io/post/1957</guid><dc:creator><![CDATA[chaimae]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Filter  data on Invalid Date]]></title><description><![CDATA[<p>Thank you for nice post</p>
]]></description><link>http://discuss.colyseus.io/post/1960</link><guid isPermaLink="true">http://discuss.colyseus.io/post/1960</guid><dc:creator><![CDATA[stevenmbrun]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>