# Slow on deploy on Raspi 3B+

**URL:** https://discourse.nodered.org/t/slow-on-deploy-on-raspi-3b/84385
**Category:** General
**Created:** [8 January 2024 10:06 UTC](https://discourse.nodered.org/t/slow-on-deploy-on-raspi-3b/84385 "2024-01-08T10:06:41Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![fmarzocca](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fmarzocca/32/35901_2.png) [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)
#### Post date: [8 January 2024 10:06 UTC](https://discourse.nodered.org/t/slow-on-deploy-on-raspi-3b/84385/1 "2024-01-08T10:06:41Z")

</div>

I am running NR on a Raspberry 3b+ (no GUI) and everything is fine, except when I deploy: it takes 4-5 seconds before returning from the deploy procedure.  
I am using only "Modified Nodes" on deploy, the flow.json file is around 1.3 MB and the editor has 34 tabs (don't know how to count the total nodes deployed).  
Is it normal?

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [8 January 2024 10:17 UTC](https://discourse.nodered.org/t/slow-on-deploy-on-raspi-3b/84385/2 "2024-01-08T10:17:35Z")

</div>

For an old (and lets face it, pretty slow) device - coupled with the fact you a fairly hefty `1.3 MB` flow - I would not call 4~5 secs unreasonable.

> [@fmarzocca](#):
>
> I am using only "Modified Nodes" on deploy

Regardless of deploy mode, all flow data is transmitted upon deploy (so the core can figure out what has changed and only _deploy_ the changes)

But are you modifying nodes or subflows? and how many nodes are subflow instances (roughly) and how many nodes are in the subflow themselves (because each node in a subflow is multiplied by the number of instances used)?

for context: when you deploy a change to a subflow, that subflow and ALL instances are destroyed/recreated.

---

<div class="post-metadata">

### Author: ![fmarzocca](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fmarzocca/32/35901_2.png) [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)
#### Post date: [8 January 2024 10:19 UTC](https://discourse.nodered.org/t/slow-on-deploy-on-raspi-3b/84385/3 "2024-01-08T10:19:13Z")

</div>

> [@Steve-Mcl](#):
>
> for context: when you deploy a change to a subflow, that subflow and ALL instances are destroyed/recreated.

Yes, that's why I am proceeding to replace all subflow (when possible) with subroutines.

---

<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: [8 March 2024 10:19 UTC](https://discourse.nodered.org/t/slow-on-deploy-on-raspi-3b/84385/4 "2024-03-08T10:19:53Z")

</div>

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