I have a webpage that needs to display multiple pieces of data being provided by my Photon. They should each be updated about every minute, and it is possible that several people will be using the site to view the data.
As far as I understand, if I used Particle variables, each individual page would be sending a request to the Particle cloud for the variable, then the cloud would ask for data from the Photon, and then it would send the data back to the cloud and the cloud back to the webpage, all on 20 second intervals. If this is correct, it seems very taxing on the whole system, as opposed to publish, where I believe the device would send out the information on 20 second intervals, and each page would listen for the data.
Is all of the above correct, and just to confirm, requests go to the cloud and not directly to the Photon, right?
Also, as a free user of the Particle cloud, I only get 250 thousand events per month, so I am guessing that one publish is an event, and one variable request is an event?
Finally, to get back to my main question, it seems to me like I would be better off using publish, but I am not sure, so which is the right one for me to be using in this case? Thank you.