Server Specification Estimate for 100,000 Simultaneous Devices

Raden Hor2 days ago

Hello Traccar Support,

First, thank you for providing such a great open-source project.

Please provide guidance or an estimate for the recommended server specifications (CPU, RAM, disk type, and network requirements) needed to handle approximately 100,000 devices sending location updates simultaneously.

Additionally, could you share any tools, configurations, or recommended methods for stress or load testing to simulate high device concurrency before going into production?

Any advice on database optimization, clustering, or load balancing for large-scale deployments would also be greatly appreciated.

Thank you.

Track-trace2 days ago

Why dont you read / search the forum, its already asked many times.

And you can also read on the website itself about how to optimize database and server etc.

Raden Hor2 days ago

I did search before asking, but I couldn’t find a specific thread. Could you share the relevant forum links?

Anton Tananaev2 days ago

First of all, the requirement is not clear. That's not how you measure load. It has to be a volume of messages within some time period.

Secondly, if we're talking about really high volumes, then you have to do load testing because there are a lot of small factors that will accumulate and will make any guesstimate meaningless.

Raden Hor2 days ago

Thank for the answer
Currently base on my config the data was sent to server every 30 seconds intoTimescale DB and I did see the horizontal scale on docs and I just want to know is it possible to measure server spec

Anton Tananaev2 days ago

Yes, you should do load testing to measure it.

Raden Hor2 days ago

Do you have any recommend way or any suggestion in order to that?

Anton Tananaev2 days ago
Raden Hor2 days ago

Thank you
One more question I just observed in 1 month my one device was consume around 60 MB in database as I query count size so there any recommended way to handle when data go larger

Anton Tananaev2 days ago

Not sure I understand the question.

Raden Hor2 days ago

I mean if 1 device consume 60 Megabytes space on DB(Timescale) so 60 x 10000(100k devices ) = 600,000 Megabytes then will single DB server can handle it or you already has solution on this case?

Anton Tananaev2 days ago

Not sure I understand the problem.

Raden Hor2 days ago

Sure — let me rephrase.
I’m trying to estimate database size and performance.
If each device stores about 60 MB of data, and I have around 100,000 devices, that’s about 6 TB total.
My question is: can a single TimescaleDB server handle that amount of data, or should I plan for a multi-node setup?

Anton Tananaev2 days ago

TimescaleDB can definitely handle it.