I have an application that requires control of multiple ESP32 servers “from anywhere.” I have a web host and personal website available, if that is required. I have reviewed the solutions in your various tutorials (ngrok, node red, self-hosting, Google, etc.) and it appears that all use some kind of polling approach, either explicitly (such as a database query) or buried in the mechanisms of an external service. My application requires rapid response (500ms or better on average) to control inputs. Which of the currently available approaches is likely to result in the fastest response?
Hi Richard.
I never tested the response time.
I guess using a webserver through a secure tunnel (using ngrok or other services) would be the fastest way, but I never compared all those methods. So, I can’t be sure.
I would suggest picking up a method that you’re more familiar with or that seems better for you, and then testing the response time. Usually, MQTT and Firebase are also pretty quick in their responses.
I’m sorry that I can’t give you a clear answer.
Regards,
Sara