Horizontal fault tolerance.

dilkh5 months ago

Hello!
Thank you so much for your hard work!
I plan the following:
One node with mariadb
Two nodes with Trakkar instances of the same version with a connection to the mariadb node.
It doesn't matter which node the tracker will be sent to. The main thing is that the data is guaranteed to get into the database.
Web display is not critical.
Are there any pitfalls with this scheme?
For example, blocking the database? Or something else? Thanks!

SwayDev5 months ago

Traccar already supports this feature by default and it works fine.

https://www.traccar.org/horizontal-scaling/

dilkh5 months ago

Thanks!

dilkh5 months ago

In order not to open a new topic, I will ask here.
And how does sending commands work with broadcast or redis?
After all, you need to understand which server the tracker is currently registered on.

Anton Tananaev5 months ago

Any server will automatically route it to the correct server.