Modern web app doesn't update in real time

Jonathan Garces2 years ago

Hello!

I have about 600 devices reporting, but when I'm monitoring the page for more than 5 minutes, I can see that the device remains static, but after I refresh the page and see again the positions are with the correct time.

Traccar

On the left side is when I am monitoring for more than 5 minutes and it is not updated, on the right side is when I refresh the page and you can see that it is already reporting in real time.

How can this be corrected? It cannot be monitored in real time because the screen hangs and the positions are not updated. I am using the latest version of traccar.

Anton Tananaev2 years ago

Have you done any troubleshooting? Provide details.

Jonathan Garces2 years ago

My server configuration has 4 vCPU configuration, 16GB RAM. I have a Ubuntu 20.04.1 LTS operating system with a postgresql database, both are tuned.

  • I am testing the version of traccar 5.8 in the backend and frontend.
  • I have tried from version 4.15 of traccar but the problem persists.
  • Devices report every 10 seconds.
  • When I stop sending positions the map takes a long time to return to normal.
Jonathan Garces2 years ago

Hello Anton!

I already found the solution, I had to memorize some components and functions so that they are not rendered unnecessarily, thanks.

I would like to know if there are alerts to know:

  • Maintenance reminder.
  • If a device is out of schedule.
  • Inactivity time.