How load balance works on pulp docker-composer?

Hello
I use docker composer way to set up Pulp3 server on one machine. I use default values, so I have:
one pulp-web
one postgres
one redis
Two pulp-api, Two pulp-worker, two pulp-content

I have a naive question: Setting like this, is docker composer doing load balancing automatically? Is it like: all begin with pulp-web, then from there , the differents requests, eg sync, rpm download, is load balanced?

Thanks in advance!

1 Like

Interesting question.
The pulp(core)-worker processes load balance the tasks naturally.
But for the wsgi parts (pulp-api and pulp-content), I’d say it’s up to nginx to distribute the load.

3 Likes