# Node-red resources

**URL:** <https://discourse.nodered.org/t/node-red-resources/93626>\
**Category:** General\
**Created:** [2 December 2024 14:17 UTC](https://discourse.nodered.org/t/node-red-resources/93626 "2024-12-02T14:17:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![meccip](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/meccip/32/49594_2.png) [@meccip](https://discourse.nodered.org/u/meccip)\
**Post date:** [2 December 2024 14:17 UTC](https://discourse.nodered.org/t/node-red-resources/93626/1 "2024-12-02T14:17:23Z")

</div>

Hello,  
I will get some data out of Victron Smart Solar via ve.Direct connector. I have 2 options: with cable on serial connected to usb and with home esp to mqtt.  
My question is: What method will use more resources from nodered ? I suspect on serial but i need confirmation.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [2 December 2024 14:37 UTC](https://discourse.nodered.org/t/node-red-resources/93626/2 "2024-12-02T14:37:21Z")

</div>

There will be no significant difference in resources.  
If it has wifi then mqtt will be easier.

---

<div class="post-metadata">

**Author:** ![meccip](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/meccip/32/49594_2.png) [@meccip](https://discourse.nodered.org/u/meccip)\
**Post date:** [2 December 2024 15:04 UTC](https://discourse.nodered.org/t/node-red-resources/93626/3 "2024-12-02T15:04:35Z")

</div>

I was thinking that use of serial will required a buffer connection and a function to transform data from ve.protocol to payload. That maybe goes to more use of ram.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [2 December 2024 15:28 UTC](https://discourse.nodered.org/t/node-red-resources/93626/4 "2024-12-02T15:28:57Z")

</div>

Using MQTT also requires buffers. Either way, the overheads of the comms will not be a large fraction of the total cpu/memory load.

Do not indulge in Premature Optimisation (yes, there is a name for it). Always go for the simplest solution. Virtually always any bottlenecks in the system will not be where you think they may be.

---

<div class="post-metadata">

**Author:** ![meccip](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/meccip/32/49594_2.png) [@meccip](https://discourse.nodered.org/u/meccip)\
**Post date:** [2 December 2024 15:47 UTC](https://discourse.nodered.org/t/node-red-resources/93626/5 "2024-12-02T15:47:15Z")

</div>

ok. got it. i will use serial, it is just a cable to plug. thank you for reply.

---

<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:** [2 March 2025 15:48 UTC](https://discourse.nodered.org/t/node-red-resources/93626/6 "2025-03-02T15:48:02Z")

</div>

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