When having multiple syndics with a large number of minion connecting to different syndics saltstack syndic tries to send commands (tcp connection to salt-master) for all of them even if the minion does not exist.
After syndic sends the command then salt-master does figure out which minions are but this is not very performant.
I suggest to check if master has the minion key on the salt-syndic at least for targeting with list so that syndic avoids connecting to salt-master.
The performance issue does not show with small number of minions.
salt-master (mom) -> syndic -> minion
Steps to Reproduce Issue
The text was updated successfully, but these errors were encountered:
At this time @tsaridas the Core team won't be working on scaling the syndic architecture in salt, you can find this in our Enterprise solution or you can open a PR for review. I will leave this open, and the Stale bot configuration will skip it with the labelFeature attached. I have also moved it to approved, but only if the community wants to submit PRs for this work at this time. Thank you!