GithubHelp home page GithubHelp logo

Comments (3)

meryllblanchet avatar meryllblanchet commented on June 16, 2024

Thanks for raising the issue, @amol-anand !
This looks like a default limit of the underlying storage, but ideally the SDK should handle the operation in the most appropriate manner.

cc @purplecabbage @sandeep-paliwal @moritzraho for feedback

from aio-lib-files.

aiojbot avatar aiojbot commented on June 16, 2024

JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-946

from aio-lib-files.

moritzraho avatar moritzraho commented on June 16, 2024

After some investigation I can conclude that there are two issues here:

    1. Azure returns max 5000 files when listing, list is internally used by delete and copy which explains the bug with delete. We need to support storage with more than 5000 files, we should expose some sort of pagination and need to fix the returned number of files in list based on the memory constraints in runtime actions. files.delete('/') should still delete all files but internally list with pagination once we support this. Some changes to handle > 5000 files will be required by files.copy too.
    1. Runtime action crashes when handling many files (5000) because execution hits resource limits both for memory (default is 256 mb) and number of opened file descriptors for open requests to Azure. To solve this, delete and copy should handle files in fix size batches (like 200 or so).

from aio-lib-files.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.