Nginx and Traccar 5.0

pipe919 4 months ago

Hello everyone, I’ve recently experienced a growing increase in gps on my app (100K) and I would like to start managing Traccar more efficiently. I am currently using version 5.0, and I am in the process of updating it, but as you know, setting up a development server can be quite complex since there aren’t many devices reporting at the same time.

I wanted to know if I can use Nginx and create two instances of Traccar on my Windows server to distribute the load, improve data processing, and avoid problems with data storage or bottlenecks. Thanks.

pipe919 4 months ago

i've also seen that a recurring suggestion is to use HAProxy to balance the load of devices. It's worth mentioning that 95% of the devices use port 5023.

Track-trace 4 months ago

In general ubuntu with nginx , mysql and traccar is always faster.

Anton Tananaev 4 months ago

How many locations per second are you handling? Horizontal scaling is not trivial to set up, so I would strongly recommend having a single server for as long as possible.

pipe919 4 months ago

~2200/s

Anton Tananaev 4 months ago

A single server should be able to handle it.