Send positions in batch/array like every 5 or 10 seconds to decrease socket pings

Hamza Javed5 years ago

Hi Anton
I have one question
I have 500+ units report positions, on every position server send position using web-socket and these are too many pings in one second.
Is this possible to send positions in batch/array like every 5 or 10 seconds to decrease socket pings?
As I'm using custom web interface based on react and page re-render on every socket ping which cause too much use of resources some time crashes the tab.

Anton Tananaev5 years ago

Not sure what you mean by possible. Such functionality is not available out of the box in Traccar, but obviously it's possible to implement.

Hamza Javed5 years ago

by using word "possible" i meant to say that is this functionality implemented in traccar and can be achieved by setting any config-parameter in configuration file.
and if implementation needed then does traccar is enough flexible to implement this in it?
Thanks