I need to implement a site with a real-time graph.I'm currently using WebSockets and chartjs.org for displaying the values.Now I'm not sure whether I should send all data points in every message or just only the new data points and save the remaining data points on a client-side ring buffer.In the current setup I need to send about 200-3200 data points per second.I'm currently favoring sending all data points at once to keep the U/I stateless. But I have the fear that performance will degrade because of the higher needed data throughput.
Save realtime data on client vs on server
real time