Forums

Selecting the right amount of web workers to handle incoming POST requests

In my project, I have around 180 LoRa sensors, each triggering a POST request each 10 minutes over the network server TheThingsNetwork (TTN).

Occasionally I see errors on the TTN console when the POST request is performed. From the logs I cannot tell whether I should search the problem on TTN/sensor side or on pythonanyhwere side.

Could it be that my number of web workers. i.e. 5, is too low? Is there any selection rule/guideline for this?

Thank you!

Yes, absolutely -- it can be tricky to calculate exactly how many workers you need, but this help page explains what you need to do.