in reply to
Is Net::SSH::Expect a thread-safe module?
My “chime” on this is that “multi-threading and network transfers is an area where you not only need to proceed with technical caution, but where you also need to examine very carefully to see if true technical advantages actually exist. Without a doubt, they sometimes do: git will launch multiple threads when you are doing a push or a pull, for example. But sometimes, an attempt at multi-threading can actually slow an algorithm down, even considerably; or simply fail to gain useful advantages that justify the efforts spent.