I’m working on a project that streams real-time sensor data from an embedded device to my website, but I’m running into issues with data lag and refresh rates on the front end. The embedded device sends data over Wi-Fi, but when it reaches the website, there’s a noticeable delay, and sometimes data points are skipped.
Here’s what I’ve tried so far:
Used WebSockets for continuous data streaming instead of HTTP polling.
Reduced the data frequency from the embedded device, which helped a bit but didn’t fully resolve the lag.
Tried different JavaScript libraries for handling real-time data, but the performance difference was minimal.
Are there any hardware or software tweaks for embedded devices to improve streaming performance? Or are there best practices for managing real-time data display on websites? Here is my site URL https://capprocutapk.com/. Any advice from those who’ve tackled similar projects wou