Local server setup
As we have seen earlier, Particle provides a cloud-based development environment for building and deploying code to its devices. The Particle cloud is also the gateway through which all communication to and from the Particle device happens. This works well if you have a good Internet connection, however, it may become slow and unreliable if you have a slow connection. This becomes a problem in certain situations where you need to access the board, for example, to read values from it in real time. Your application may require real-time performance, which the cloud-based setup may not be able to guarantee.
By using the Particle cloud, data from your board located in your living room is sent to the server on the Internet, and data comes back from the Internet server to your home router that is also in the same living room. All the traffic over the relatively slow Internet adds latency to the data flow, even when the devices are in the same local network.
The problem just discussed...