<?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[[ANSWERED] What is the Performance Impact of Using Many OSC Multi Listener Actors?]]></title><description><![CDATA[<p>Hello, <br /></p>
<p>I am building a user actor which I expect to have multiple instances of - it converts OSC data into usable info. Is there a performance impact of having the OSC listeners inside each actor (meaning there would be multiple listeners listening to the same thing) or should I be doing something with gobal values?<br /></p>
<p>Thanks<br />Richard<br /></p>
<p>[EDIT: changed your subject line to help others better understand what this topic is about.]</p>]]></description><link>https://community.troikatronix.com/topic/7128/answered-what-is-the-performance-impact-of-using-many-osc-multi-listener-actors</link><generator>RSS for Node</generator><lastBuildDate>Tue, 18 Aug 2026 20:11:05 GMT</lastBuildDate><atom:link href="https://community.troikatronix.com/topic/7128.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 30 Jan 2021 15:04:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [ANSWERED] What is the Performance Impact of Using Many OSC Multi Listener Actors? on Sun, 31 Jan 2021 00:15:31 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/2">@mark</a> said:</p>
<blockquote>In the case of the OSC Multi Listener, all OSC messages on every channel are sent to the actor</blockquote>
<p> Well that is good to know.</p><p>Best Wishes</p><p>Russell</p>]]></description><link>https://community.troikatronix.com/post/44530</link><guid isPermaLink="true">https://community.troikatronix.com/post/44530</guid><dc:creator><![CDATA[bonemap]]></dc:creator><pubDate>Sun, 31 Jan 2021 00:15:31 GMT</pubDate></item><item><title><![CDATA[Reply to [ANSWERED] What is the Performance Impact of Using Many OSC Multi Listener Actors? on Mon, 01 Feb 2021 08:00:53 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/4240">@shadlx</a> said:</p>
<blockquote>Is there a performance impact of having the OSC listeners inside each actor (meaning there would be multiple listeners listening to the same thing) or should I be doing something with gobal values?</blockquote>
<p>There is very little impact having multiple instances of the actors unless you get into the thousands upon thousands of them.</p>
<p><strong>TL;DR Geeky Details</strong></p>
<p>Behind the scenes, when an OSC message for a specified channel is received, all actors who "want" that message are notified of the new message.</p>
<p>In the case of the OSC Listener, it says "I want OSC messages only on channel xxx" where xxx is value entered into the 'channel' input. Only messages on channel xxx are actually forwarded to the actor.</p>
<p>In the case of the OSC Multi Listener, all OSC messages on every channel are sent to the actor. What messages are <em>actually</em> passed on to the output depends on the setting of the 'base chan' and 'num chan' inputs: if the channel number of the incoming OSC message is within the range <strong>base chan</strong> to <strong>base chan+(num chan-1)</strong> inclusive, then the value is passed on to the output.<br /></p>
<p>So the Multi Transmit is a bit less efficient if you have billions of OSC messages that are not intended for that actor. </p>
<p>But in the end, we're talking about microseconds of cost.</p>
<p>Best Wishes,<br />Mark</p>]]></description><link>https://community.troikatronix.com/post/44523</link><guid isPermaLink="true">https://community.troikatronix.com/post/44523</guid><dc:creator><![CDATA[mark]]></dc:creator><pubDate>Mon, 01 Feb 2021 08:00:53 GMT</pubDate></item></channel></rss>