Skip to content

syndic architecture does not scale #55564

@tsaridas

Description

@tsaridas

Description of Issue

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.

Setup

salt-master (mom) -> syndic -> minion

Steps to Reproduce Issue

not applicable

Versions Report

All versions

Metadata

Metadata

Assignees

No one assigned

    Labels

    Featurenew functionality including changes to functionality and code refactors, etc.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions