JetBrains / JetBrains/teamcity-aws-codedeploy-plugin

Extremely slow to package application revision

Open
#20 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
11
Forks
6
PR merge metrics
No merged PRs in 30d

Description

The code that packages the application revision before uploading and registering to s3 runs really slow when the number of files in the application revision is large. We have one application with small number of files < 500 that runs fast enough, but we have a separate one with well above 5000 and it takes forever. I took a quick look at the code, and it looks like the slowness is because each file is being added to the zip file individually. You can see the area of concern here:

https://github.com/JetBrains/teamcity-aws-codedeploy-plugin/blob/master/aws-codedeploy-agent/src/main/java/jetbrains/buildServer/runner/codedeploy/ApplicationRevision.java#L125

Let me know if you need any more information. I'm going to try to hack my way around it for now, but I'd prefer to use the plugin in the long run.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.