Docker Community Forums

Share and learn in the Docker community.

Making all swarm nodes managers -- why not?


(Brian Warsing) #1

Hi,

Is there any harm in making all swarm nodes managers?

Is there some performance penalty or another reason one shouldn’t do this?


B.


(Klamar) #2

I would not overdo it. Raft communication creates some kind of overhead and the latency should not be extreme. So when creating huge clusters I’d go with 3, 5 or 7 managers. But I’d never do sth. like 21 managers. That just makes no sense.


(Brian Warsing) #3

Thanks and I must have missed this document which explains it nicely.