I have a weather station supplying me data every 2.5 seconds. (using weewx)
I want to show this live on my website using highcharts to plot live data.
Currently i can pickup the messages from the redis channel 'weather' using Predis just to test.
The issue is that the data is only sent every 2.5, so when a users opens the php site he sometimes has to wait 2.5 seconds for the chart to appear.
Do you have any suggestions to get around this issue?
Store the data manually the very first time (while developing the software).
Every 2.5 seconds of running, use polling to check for updated data. If the data is updated, then update the data currently stored.

When the user logs on, you plot the chart with the values in the database.
Redis: Live data via channel