GithubHelp home page GithubHelp logo

Deal with storage usage limits about zimfarm HOT 7 CLOSED

openzim avatar openzim commented on May 28, 2024
Deal with storage usage limits

from zimfarm.

Comments (7)

automactic avatar automactic commented on May 28, 2024

#44 is trying to solve this issue. You can have queues like small, medium and large. And then a worker can say only tune in to small and medium queues.

However, I do not think it is possible to do it based on file size. Also how would you know about file size before a zim file is generated?

from zimfarm.

stale avatar stale commented on May 28, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.

from zimfarm.

kelson42 avatar kelson42 commented on May 28, 2024

@rgaudin This was the first requirement about dealing with different kind of requirements for the scrapers. Multiple queue was a first answer but we now deal with other problems (priorities). To my opinion my first proposal, if implementable, would have avoid the kind of problem we have now.

from zimfarm.

rgaudin avatar rgaudin commented on May 28, 2024

OK, I understand now how we got there. It reinforces that run-time server+client sides knowledge requirement for task assignment that I described in #202.

While we can add a way to provide that task-required size in the DB, we should know how we're gonna get that information. It can (and should as most wikis grow) be overestimated but if we're going to compare two numbers to decide whether a task can be ran, we need them both.

How do you see us estimating those sizes?

from zimfarm.

kelson42 avatar kelson42 commented on May 28, 2024

How do you see us estimating those sizes?

It would be an heuristic, manual or automated.

from zimfarm.

rgaudin avatar rgaudin commented on May 28, 2024

Sure but doesn't help much. We're gonna have to start somewhere with a basic algorithm and adjust over time while allowing manual input for those we have more info on and where it matters (largest ones).

  • we have ~1,200 schedules
  • all of them have a small, medium or large info (very approximate, will have to be refined over time)
  • we don't inspect disk usage and so don't report it during our task life cycle. should we?
  • we don't have direct access to number of articles but could get that info, if of value. Is it?
  • how does format and formats combination influence the disk usage?

from zimfarm.

stale avatar stale commented on May 28, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.

from zimfarm.

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.