Giter Site home page Giter Site logo

miniflow's Introduction

miniflow

Go Report Card

Workflow execution based on YAML definitions and NATS streaming.

Disclaimer

This is a work in progress and NOT meant for any production use!

Features

  • Simple definition of workflows using YAML
  • Easy to setup and execute a workflow
  • Designed with ETL in mind
  • Supported distributed processing of workloads with NATS streaming messaging.

miniflow's People

Contributors

jsam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

miniflow's Issues

Question: Synchronization and Fault-tolerance

first of all, I think this project is super awesome. I like that everything is basically in one file and the golang syntax slowly grows on me :)

My first question in about fork/join (or fan-out, fan-in as named in the code, if I understand correctly):
I am looking at at the fanIn function: if I understand correctly, this is invoked whenever a token is received through go channel which is, I soppose, connected through nats? My next assumption is that the "WaitGroup" allows us to synchronize tokens, correct? How do we need to think about this in a miniflow cluster? Will the nats kind of "shard" the tokens belonging to the same workflow intance that they go to the same miniflow instance? Or are you thinking about a distributed locking service? - I am just interested, this is the kind of stuff I like to think about :)

Second Question: assume that te processing of a token fails (program is killed, whatever). Will the nats then redeliver the message and by this the system will "re-try"?

Current Status

Hey Sam, really interesting project, just wondering what the current status of this is? did you move to something else? interested to know.

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.