Answers: <p>Try <a href="https://www.cyberciti.biz/tips/linux-unix-download-accelerator.html" rel="nofollow noreferrer">LFTP</a> that has commands to mirror or parallel copy. LFTP can run over many protocols.</p>
  
  <p>The likely problem you have is that you are transfering a lot of data from a build service to a single vm over the Internet. Enterprises use the same tools and protocols but they pay for more bandwidth else ensure that their builds and deploy happens within the same cloud provider. They then deploy to many servers in parallel using standard protocols like SCP with tools like Ansible. The networks within a single cloud provider (Azure, AWS, GCP) are prioritised. This means of you want fat deployment bandwidth, and to run on Digital Ocean, you should build on Digital Ocean. </p>
  
  <p>It may be the case that a very large amount of the 50k of files dont change on each build. So what you really want is a tool that looks at what files are already deployed. We can expect such tools to use file name, timestamps, file sizes and checksums to check whether a file needs uploading. If your build is stateless and creates 1G of fresh files each time their timestamps are going to be newer that the identical files already deployed. LFTP has an "ignore time stamp" option to avoid transfers of newer but identical files. See this question and answer <a href="https://serverfault.com/a/311670">https://serverfault.com/a/311670</a> </p>
  
Answers: CC BY-SA 4.0
Answers: 2018-12-08T16:08:52.193Z
Answers: If enterprises are just using plain old SCP they tend to do deployments using something like Ansible Tower or some "platform" not because it does file transfer faster but because it has role based access control and can hide the ssh keys/passwords from the dev team and keep a full audit trail of what was done. I don't equate "enterprise devops software" with "better technology" as it all uses established protocols or is actually based on opensource like tower. I equate "enterprise devops software" with "costs a lot of money to adds a load of controls and reports to keep management happy".
Answers: simbo1905
Answers: CC BY-SA 4.0
Answers: 2018-12-09T08:25:03.017Z
Answers: A build service with a "freemuim" business model would go bankrupt very fast if it didn’t throttle bandwidth for free customers and prioritise paying customers. Likewise allowing unlimited bandwidth for “basic tier” hosting would put a hosting company out of business as anyone paying for “premium hosting” wouldn’t see good network speeds. This means “cheap” or “free” means “just good enough for typical users”. Trying to deploy 50k files or 1G isn’t what a typical user needs so it’s not surprising that it “isn’t good enough". Enterprises don't use free or basic services they pay for premium.
Answers: simbo1905
Answers: CC BY-SA 4.0
Answers: 2018-12-08T15:56:16.287Z
Answers: 2018-12-11T13:07:12.043Z
Answers: 2018-12-11T13:07:12.043Z
Answers: simbo1905
Answers: <p>Not sure this helps you directly, but one option is to build the application within your CI build and push the (versioned) binaries/packages into an artifact repositorie like <a href="https://www.sonatype.com/nexus-repository-sonatype" rel="nofollow noreferrer">Sonatype Nexus</a> or <a href="https://jfrog.com/artifactory/" rel="nofollow noreferrer">JFrog Artifactory</a>. 
  Your build would then, in a later step pull these binaries from the target machine/from within the droplet.</p>
  
  <p>There are many packaging formats, depending on your technology stack, like e.g. NPM packages, jars, nuget packages, gems, Docker images and so on. Typically, you can also define your own package formats.</p>
  
  <p>As I said, this is not a direct answer to the question about "enterprise level file transfer tools", but it is a common way to decouple building and pushing the application and pulling/deploying it.</p>
  
Answers: CC BY-SA 4.0
Answers: 2018-12-11T08:52:35.510Z
Answers: 2018-12-11T08:52:35.510Z
Answers: wwerner
Body: <p>I recently learnt some basic devops and set my server on Digitalocean droplet with travis CI. As there is no travis deploy provider supports for Digitalocean, I have to write my own deploy script. However I have more than 50000 files i.e near about 1 GB of data. I tried scp, ftp, rsync but I feel it takes a lot of time. </p>
  
  <p>What are the transfer tools that is used in enterprise level ? Do they also use RSYNC or SCP. Or there are other tools that is better than these which are being used by medium level enterprises which I am not aware of. </p>
  
  <p>Apart from it I have another question is there any deployment script/tool that can parallely transfer my files over ssh ? </p>
  
Tags: <continuous-integration><deployment><continuous-deployment><travis-ci><cicd>
Title: Tools used in enterprise level to transfer build artifacts from CI server to live server
UserDisplayName: SkyRar
ThreadText: # Tools used in enterprise level to transfer build artifacts from CI server to live server
  
  (Asked by: username_0 on 2018-12-08)
  
  I recently learnt some basic devops and set my server on Digitalocean droplet with travis CI. As there is no travis deploy provider supports for Digitalocean, I have to write my own deploy script. However I have more than 50000 files i.e near about 1 GB of data. I tried scp, ftp, rsync but I feel it takes a lot of time.
  
  What are the transfer tools that is used in enterprise level ? Do they also use RSYNC or SCP. Or there are other tools that is better than these which are being used by medium level enterprises which I am not aware of.
  
  Apart from it I have another question is there any deployment script/tool that can parallely transfer my files over ssh ?
  
  **Tags:** continuous-integration, deployment, continuous-deployment, travis-ci, cicd
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2018-12-08. Score: 4
  
  Try [LFTP](https://www.cyberciti.biz/tips/linux-unix-download-accelerator.html) that has commands to mirror or parallel copy. LFTP can run over many protocols.
  
  The likely problem you have is that you are transfering a lot of data from a build service to a single vm over the Internet. Enterprises use the same tools and protocols but they pay for more bandwidth else ensure that their builds and deploy happens within the same cloud provider. They then deploy to many servers in parallel using standard protocols like SCP with tools like Ansible. The networks within a single cloud provider (Azure, AWS, GCP) are prioritised. This means of you want fat deployment bandwidth, and to run on Digital Ocean, you should build on Digital Ocean.
  
  It may be the case that a very large amount of the 50k of files dont change on each build. So what you really want is a tool that looks at what files are already deployed. We can expect such tools to use file name, timestamps, file sizes and checksums to check whether a file needs uploading. If your build is stateless and creates 1G of fresh files each time their timestamps are going to be newer that the identical files already deployed. LFTP has an "ignore time stamp" option to avoid transfers of newer but identical files. See this question and answer <https://serverfault.com/a/311670>
  
  > **Comments:**
  > **username_1**: If enterprises are just using plain old SCP they tend to do deployments using something like Ansible Tower or some "platform" not because it does file transfer faster but because it has role based access control and can hide the ssh keys/passwords from the dev team and keep a full audit trail of what was done. I don't equate "enterprise devops software" with "better technology" as it all uses established protocols or is actually based on opensource like tower. I equate "enterprise devops software" with "costs a lot of money to adds a load of controls and reports to keep management happy".  
  > **username_1**: A build service with a "freemuim" business model would go bankrupt very fast if it didn’t throttle bandwidth for free customers and prioritise paying customers. Likewise allowing unlimited bandwidth for “basic tier” hosting would put a hosting company out of business as anyone paying for “premium hosting” wouldn’t see good network speeds. This means “cheap” or “free” means “just good enough for typical users”. Trying to deploy 50k files or 1G isn’t what a typical user needs so it’s not surprising that it “isn’t good enough". Enterprises don't use free or basic services they pay for premium.  
  
  ---
  
  ### Answer by username_2 on 2018-12-11. Score: 1
  
  Not sure this helps you directly, but one option is to build the application within your CI build and push the (versioned) binaries/packages into an artifact repositorie like [Sonatype Nexus](https://www.sonatype.com/nexus-repository-sonatype) or [JFrog Artifactory](https://jfrog.com/artifactory/).
  Your build would then, in a later step pull these binaries from the target machine/from within the droplet.
  
  There are many packaging formats, depending on your technology stack, like e.g. NPM packages, jars, nuget packages, gems, Docker images and so on. Typically, you can also define your own package formats.
  
  As I said, this is not a direct answer to the question about "enterprise level file transfer tools", but it is a common way to decouple building and pushing the application and pulling/deploying it.
  
  
  ---
  
  