Hi.
I have an Arduino(with an ethernet shield) that receives data from some devices, And I want to use that data in some online services.
The problem is that I can't port forwarding Arduino server on every network connection.
I have thought about that solution but it's going to flood the server:
Arduino check the URL: HTTP://server.com/commands/ for X seconds for new commands
once it's executed, it will make another request and fetch the required data and send the data with another request.
the issue is the delay in response and the number of requests to the server.
I'm looking for a way to open a connection to server.
I'm using Java sprint boot Application, there is an option to implement that kind of connection?
How does it exists in other IoT devices are making that kind of connection to the devices?
Thanks for the help