Slow artifact upload
We use TeamCity's "Build Artifact" feature. An upload of a file with ~ 170MB size
requires about 30 sec., although the network throughput is up to ~ 100MB/s.
Could you please explain the detailed workflow about the 'artifacts upload'
and provide some 'tuning hints' if available.
Please sign in to leave a comment.
Hi David,
the workflow is pretty simple. Once the build is finished in the agent, it scans the paths passed as build artifacts, gather all the files and uploads them to the server, which stores it in the artifacts path. There is no limit imposed by TeamCity and most of the slow transfer speeds we have been able to find in user issues were related to their network infrastructure.
Going to piggyback on this thread myself.
I just switched to using a network path for my Artifact Directories. I've just set a network path under Administration>Global Settings> Artifact Directories
the "Publish artifacts" step of the build is taking ~3min to publish to the network path. When I RDP into that machine(as the account TC is running) and move a set of artifacts "by hand" it only takes ~10-15sec.
So I guess my question is are there any other settings I need to set for network path artifact directory to work efficiently?
Also you mention in the reply about "user issues were related to their network infrastructure" can you elaborate on this any? What ,if any, are some common issues or any notable issues that could cause this slow transfer?