Where and how do you get a list of these 400 servers for the query?
how often do you need to do this?
you can use the Windows service or schedule a task that calls your software, and in it you can make the foreach element in the list of servers and start calling such a server in another thread using the queue / pool of threads, but there is a maximum so that in any case you donβt started 400 threads.
describe your solution a little better, and we see what you can do :)
source share