Traccar clustering

Synergy Dave 9 months ago

Hello,
when installing traccar in cluster mode (3 nodes) to support 40k devices and using redis in a separate VM for synchronization, what's the recommended way for connecting devices, I've one public IP address:

  1. assign this IP to a traccar node and configure all devices to send to that node.
  2. assing the IP to a loadbalancer (nginx, HAProxy) and put traccar nodes behind.

Regards,

Track-trace 9 months ago

In Europe i know tracking servers that have 250.000 devices connected.

I noticed these trackers all use the same server ip but are configured connect to connect on different ports even though the devices use the same communication protocol.

Synergy Dave 9 months ago

sure they'll use different ports, but this IP is it assigned to loadbalancer or traccar node in our case?

Anton Tananaev 9 months ago

Of course load balancer. Otherwise what's the point of having multiple instances of Traccar?