Traccar clustering

Synergy Davea month 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-tracea month 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 Davea month ago

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

Anton Tananaeva month ago

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