We're currently upgrading and SDL 9.1 environment, and we are creating the Topology Mappings for a series of Publications.
We have found that the commands
add/set-ttmwebsite etc. are very slow (and sometimes even resulting in timeouts).
After some debugging, it looks like the Discovery Service is the blocking factor.
Setting the debugging on shows that one
add-ttmmapping command takes about 69 seconds to be processed by the Discovery Service.
It looks like the Discovery Service is looping through all Websites/WebApplications that are registered in the Topology, resulting in a fairly poor performance.
Is this expected behavior, or is there a configuration issue or a bug?