Horizontal scaling with Docker

mason chak5 months ago

Hi,

I deployed a Traccar instance on two servers, with one server hosting the database. I configured horizontal scaling in the standard deployment, and everything works fine.

Now, I want to switch to Docker. However, in Docker's bridge network mode, horizontal scaling is not functioning, and we can't use the host network mode due to security issues. What is your advice on making horizontal scaling work in Docker with multicast?

Thank you.

Track-trace5 months ago

Just for my info, which load balancer did you use for horizontal scaling ? Interesting to know how you did that setup.

Anton Tananaev5 months ago

You can use Redis instead on multicast.

mason chak5 months ago

Actually i don't have any load balancer yet.
i will try Redis tnx.