Git Product home page Git Product logo

flyer's Introduction

Flyer

What is flyer?

It is a tool for python to ditributed in a cluster.

How does it work?

It depends on gevent,pexpect and redis. It use redis to exchange information. Mostly, it is like a small mpi library for python.

How to use?

Make sure that each node in the cluster trust each other in ssh. Then edit the host.list to add the host. Each line in host.list means that it will start a proccess in the host. Edit file.list to add files to use by the program, flyer will help you to copy the files.

You can run :

./flyer.py -e run.py -f file.list -h host.list

The flyer include the class the run.py has to inherit, by using redis to pass message and sync infomation.

Waht to do?

  • It is just a demo, far away from stabilization, I will go on working on it.
  • Error handling is not good, I will fix it
  • Use a redis cluster
  • Write some examples
  • Add other functions if necessary

Example

run.py

flyer's People

Contributors

binhe22 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  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.