Performance Impact of 10,000+ Geofences in Traccar

Gaurav3 days ago

Hi,

We are exploring the use of Traccar for monitoring vehicle locations and need to set up a large number of geofences (10,000+). Each geofence would be relatively small, and we would need to check if a vehicle remains inside a geofence for more than 10 minutes.

A few questions:

  1. Does Traccar natively support this kind of geofence dwell-time detection?
  2. What would be the expected performance impact of maintaining and checking against 10,000+ geofences in real time?
  3. Are there any best practices or optimizations for handling a large number of geofences efficiently in Traccar?

Appreciate any insights or recommendations.

Anton Tananaev3 days ago
  1. We don't have a specific event like that. You would have to check it based on geofence in/out events.
  2. It probably depends on how many devices you have and whether all of them will be linked to all geofences.
Gaurav3 days ago

Let's say 1000 devices, How much do you think will be the performance impact.

Anton Tananaev3 days ago

If you have all 1000 devices linked to all 10k geofences, it's going to be pretty slow.