# HTTP request number of nodes

**URL:** <https://discourse.nodered.org/t/http-request-number-of-nodes/65108>\
**Category:** General\
**Created:** [14 July 2022 17:58 UTC](https://discourse.nodered.org/t/http-request-number-of-nodes/65108 "2022-07-14T17:58:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gerry](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gerry/32/21604_2.png) [@gerry](https://discourse.nodered.org/u/gerry)\
**Post date:** [14 July 2022 17:58 UTC](https://discourse.nodered.org/t/http-request-number-of-nodes/65108/1 "2022-07-14T17:58:55Z")

</div>

I have about a dozen NODEMCU's that I use for various measurements. To read them I use HTTP request. Each Nodemcu has a web page that I interrogate for the data and right now I send out a dozen requests at one time. Usually one or two will send back unable to read on each request but it varies over the senors so I get a complete return of data every three read or so. I ping them every 3 seconds. Should I split out the requests over a second or two using a delay node or is one massive request the best way?

---

<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:** [14 July 2022 18:10 UTC](https://discourse.nodered.org/t/http-request-number-of-nodes/65108/2 "2022-07-14T18:10:15Z")

</div>

> [@gerry](#):
>
> Should I split out the requests over a second or two using a delay node or is one massive request the best way?

give it a go. use a delay node set to "rate limit" mode of around 2 msg per 1 sec.

I noted improvements on a previous job.

Lastly, is there a reason you cannot use MQTT (many ESPxx users do it via MQTT rather than HTTP)?

---

<div class="post-metadata">

**Author:** ![gerry](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gerry/32/21604_2.png) [@gerry](https://discourse.nodered.org/u/gerry)\
**Post date:** [14 July 2022 18:13 UTC](https://discourse.nodered.org/t/http-request-number-of-nodes/65108/3 "2022-07-14T18:13:11Z")

</div>

Was using MQTT at first but for some reason it flooded my network so I changed everything to HTTP. It seemed to work OK. Later on I found out I had some issues with the broker and did get that sorted out but didn't go back to MQTT since HTTP seemed to work.

---

<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:** [12 September 2022 18:13 UTC](https://discourse.nodered.org/t/http-request-number-of-nodes/65108/4 "2022-09-12T18:13:12Z")

</div>

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