Giter Site home page Giter Site logo

flow's Introduction

GO-FLOW

GO语言实现的任务调度框架

在我们编写一个服务端服务时,为了提高程序的运行效率,我们往往会对程序进行一定的并发操作。 我们可以把这些能够进行并发的单元称作"任务"。"任务"之间具有复杂的关系,例如有的任务需要依赖别的任务执行的结果, 而有的任务完全没有关联,可以并发操作。

假设我们有7个"任务",将他们从1-7进行编号。

本框架能够实现n个"任务"按照你指定的顺序执行,存在相互依赖的"任务"会同步执行,不存在依赖的"任务"会并发执行。

查看example文件夹,获得开箱即用的调度框架使用方式。

flow's People

Contributors

tonight-ac avatar tonightac avatar

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.