GithubHelp home page GithubHelp logo

Add queue support about zimfarm HOT 5 CLOSED

openzim avatar openzim commented on May 28, 2024
Add queue support

from zimfarm.

Comments (5)

automactic avatar automactic commented on May 28, 2024

@kelson42 What do you think are some appropriate levels of the queue? How about:

Queue Expected File Size
tiny <=100MB
small 100MB-1GB
medium 1GB-10GB
large >10GB

We can use this queue configuration as a start and adjust later.

from zimfarm.

kelson42 avatar kelson42 commented on May 28, 2024

@automactic looks good to me

from zimfarm.

kelson42 avatar kelson42 commented on May 28, 2024

Even if I wonder if it would not be simply better to give info about HW resources need at the time of the job scheduling and then start the docker worker with parameter specifying the HW limitation of the worker. Then the rest would run automatically with one queue (and filtering).

from zimfarm.

automactic avatar automactic commented on May 28, 2024

Celery does not work like that. If we have only one queue, then all free workers in the queue will get task evenly. A worker cannot say, let me inspect this task and if I don't like it then I will send it back.

Also, please define HW resources and limitations and how it is different from queue based solution.

from zimfarm.

automactic avatar automactic commented on May 28, 2024

This feature is being implemented in:

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.