In the current design, a new SSH connection is established for each file being copied into the VM. https://github.com/UBAutograding/Tango/blob/34c6ca7f0f850bfa57607725b1407ecd29dfc8b2/vmms/distDocker.py#L205-L218 Grading could be greatly sped up if multiple files were copied with one connection rather than wasting time closing and reopening the connection.
In the current design, a new SSH connection is established for each file being copied into the VM.
Tango/vmms/distDocker.py
Lines 205 to 218 in 34c6ca7
Grading could be greatly sped up if multiple files were copied with one connection rather than wasting time closing and reopening the connection.