Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poor performance when UploadFolder procedure when uploading folder with 5000 files #98

Open
nikhilv opened this issue Sep 25, 2015 · 0 comments

Comments

@nikhilv
Copy link
Contributor

nikhilv commented Sep 25, 2015

To reproduce:

  1. Create a folder with 5000 files
  2. Create a project and procedure
  3. Create a subprocedure call invoking EC-S3:UploadFolder
  4. Specify directory from 1
  5. Run Procedure

EXPECTED RESULT:
Long pole should be communication to S3.

ACTUAL RESULT:
Long pole seems to be setting properties on the Flow Server.

Initial Triage:
When uploading a folder with 5000 files, it looks like we try to do 5000 serial setProperty requests to the FlowServer.

   //set the properties
    list.each {
        item ->
            def url = "https://" + bucketName + ".s3.amazonaws.com/" + item
            System.out.println(item + "  ==>  [" + url + "]")
            commander.setProperty(propResult + "/" + item, url)
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant