Git Product home page Git Product logo

Comments (9)

kelson42 avatar kelson42 commented on May 29, 2024

@rgaudin @ikreymer I believe this topic to be touchy to discuss immediatly via Github. Please talk about it in the weekly meeting before commenting here.

from zimit.

kelson42 avatar kelson42 commented on May 29, 2024

Would be good to have a plan here.

from zimit.

rgaudin avatar rgaudin commented on May 29, 2024

Make sure we can still access those easily now that we've split the project into the crawler and this.

from zimit.

ikreymer avatar ikreymer commented on May 29, 2024

The data is accessible and can easily be exposed. Maybe easiest is to output stats to a JSON file, eg.

For example, zimfarm can add:
-v ./job-stats-{id}.json:/output/stats.json

and the crawler can periodically write stats to /output/stats.json

Then, zimfarm can simply display the contents.

from zimit.

kelson42 avatar kelson42 commented on May 29, 2024

@rgaudin @ikreymer AFAIK this is the last ticket to implement to finish the work at the spider level. Would you be able please to secure this ticket is implemented and closed properly soon?

from zimit.

rgaudin avatar rgaudin commented on May 29, 2024

OK, as discussed, I think we can go with a JSON file for tracking the progress. We're discussing this here but this is mostly about modifying the browsertrix crawler

We can start with a very simple format:

{
    "total": 832,
    "progress": 43
}

Total would be the found number of links (crawler's items to process) and progress would be the number of those already crawled.

This could be called crawl-progress.json and be placed on the output folder that was requested (so /output/crawl-progress.json in the zimfarm).

I think it might be good to enable that via some option (that we'd set on zimit). Possibly, we could pass it the expected path.

Next, we'll do something similar with warc2zim and figure out how we'll expose it in zimit but what we need your help we @ikreymer is the crawler part.

from zimit.

ikreymer avatar ikreymer commented on May 29, 2024

Sounds good. At the browsertrix level, I think it would be an option like: --statsOutput /output/crawl-progress.json.
Can just pass that through from zimit.

from zimit.

rgaudin avatar rgaudin commented on May 29, 2024

👍

from zimit.

kelson42 avatar kelson42 commented on May 29, 2024

@ikreymer Hi, any news on this? The feature is need next week to be able to have the progress bar within the Zimit public frontent.

from zimit.

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.