# To reduce CPU/Ram usage better use only ONE "Telegram receive node"?

**URL:** <https://discourse.nodered.org/t/to-reduce-cpu-ram-usage-better-use-only-one-telegram-receive-node/64719>\
**Category:** General\
**Created:** [5 July 2022 13:51 UTC](https://discourse.nodered.org/t/to-reduce-cpu-ram-usage-better-use-only-one-telegram-receive-node/64719 "2022-07-05T13:51:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lumanga](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/lumanga/32/58334_2.png) [@lumanga](https://discourse.nodered.org/u/lumanga)\
**Post date:** [5 July 2022 13:51 UTC](https://discourse.nodered.org/t/to-reduce-cpu-ram-usage-better-use-only-one-telegram-receive-node/64719/1 "2022-07-05T13:51:40Z")

</div>

Dear All,  
I just want to understand and know if in a complex FLOW, to have less CPU and RAM usage, is better or is the same things:

A) Use ONLY unique and ONE "telegram Receive node" ( and use a "function node to split the different commands received in the different line of the flow)  
OR  
B) Use one "telegram Receive node" for each command I need to use and so, have 20 "telegram receive node"?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [5 July 2022 16:39 UTC](https://discourse.nodered.org/t/to-reduce-cpu-ram-usage-better-use-only-one-telegram-receive-node/64719/2 "2022-07-05T16:39:39Z")

</div>

I don't think it will make a massive difference to be honest. You are only defining a single connection anyway.

Personally, I tend to keep the number to a reasonable minimum but that is based on most of my inbound processing being on the same flow tab. If I needed to split it across multiple tabs, I'd most likely use another receive node on each tab.

I would certainly not want to go overboard about having everything going through a single function node because that gets unsupportable if you aren't careful.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [3 September 2022 16:40 UTC](https://discourse.nodered.org/t/to-reduce-cpu-ram-usage-better-use-only-one-telegram-receive-node/64719/3 "2022-09-03T16:40:01Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
