# Response time, update speed

**URL:** <https://discourse.nodered.org/t/response-time-update-speed/2249>\
**Category:** General\
**Created:** [13 August 2018 09:46 UTC](https://discourse.nodered.org/t/response-time-update-speed/2249 "2018-08-13T09:46:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![carver01](https://avatars.discourse-cdn.com/v4/letter/c/ecb155/32.png) [@carver01](https://discourse.nodered.org/u/carver01)\
**Post date:** [13 August 2018 09:46 UTC](https://discourse.nodered.org/t/response-time-update-speed/2249/1 "2018-08-13T09:46:26Z")

</div>

Hey i'm kinda new to node-red and i am wondering when i run this on a raspberry pi, does it update fast eneugh within 30hz (0.03S) for I/O control

kind regards,

---

<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:** [13 August 2018 15:12 UTC](https://discourse.nodered.org/t/response-time-update-speed/2249/2 "2018-08-13T15:12:04Z")

</div>

> [@carver01](#):
>
> Hey i'm kinda new to node-red and i am wondering when i run this on a raspberry pi, does it update fast eneugh within 30hz (0.03S) for I/O control

Welcome.

You've actually asked a tricky question for which there isn't a simple answer.

The first thing to note is that Node-RED is absolutely not a "real time" service since neither the underlying Node.JS nor the Linux OS are real time. Indeed, Node.JS is single-threaded in general and so cannot guarantee exactly when some code will be executed.

The next thing to note is that there are many different Pi versions so it also depends on which Pi you are using **and** what other services are running.

So the answer is _maybe_ but _maybe not_!

Personally, I would strongly recommend that, if you need tight control over timing, that you add an Arduino or other real time microprocessor and give it any time critical processing. Let Node-RED be used for overall command and control which is what it is best at.
