Giter Site home page Giter Site logo

Comments (4)

ajratner avatar ajratner commented on June 12, 2024

Simplest / quickest way I can think of doing- parser writes a .reg file which is "0" when started and running and "1" when completed. fab can simply collect all the .reg files- super simple- and then come up with register of global status

from bazaar.

ajratner avatar ajratner commented on June 12, 2024

@chrismre Have to run to dinner with Will (timeliness!) but quick rundown of process (bold is what I'm adding):

  1. Files split locally into segments
  2. Segments are distributed across servers / cores
  3. When a core picks up a segment, it writes "0" to seg_id.reg in addition to writing output to seg_id.parsed
  4. When a core completes a segment it writes "1" to seg_id.reg
  5. Global status can be checked at any time via a simple 'collect' operation over *.reg in fab
  6. At the end, the *.parsed files are collected and catted to get full output...

Any thoughts? This just seemed quick and simple to implement given the current setup

@raphaelhoffmann any thoughts?

from bazaar.

raphaelhoffmann avatar raphaelhoffmann commented on June 12, 2024

That is really cool! I like that you can do a global status check with a
simple command.
Thanks for building this.

On Thu, Aug 6, 2015 at 5:57 PM, Alex Ratner [email protected]
wrote:

@chrismre https://github.com/chrismre Have to run to dinner with Will
(timeliness!) but quick rundown of process:

  1. Files split locally into segments
  2. Segments are distributed across servers / cores
  3. When a core picks up a segment, it writes "0" to seg_id.reg in
    addition to writing output to seg_id.parsed
  4. When a core completes a segment it writes "1" to seg_id.reg
  5. Global status can be checked at any time via a simple 'collect'
    operation over *.reg in fab
  6. At the end, the *.parsed files are collected and catted to get full
    output...

Any thoughts? This just seemed quick and simple to implement given the
current setup


Reply to this email directly or view it on GitHub
#13 (comment).

from bazaar.

ajratner avatar ajratner commented on June 12, 2024

@raphaelhoffmann Just need to merge my jsonreader-multi-key branch into master, or the relevant part of it, for this to work

from bazaar.

Related Issues (12)

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.