Giter Site home page Giter Site logo

mrchunks's People

Contributors

victorpoluceno avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

mrchunks's Issues

Fix non deterministic scheduling

It seems that python is reusing memory address when a functions is sent as parameter to scheduler. Because of that our scheduler just re-schedule same functions as before changing position on deque structure.

Investigate a zmq request reply broker using router

This would have the benefit of not needing one socket per process, what seems really bad. Process need to be as small as possible. With a zmq broker we may need one socket connection per node, and this node would route messages using zmq router. Don't now right if we can use zmq router as inter processing route.

Implement resolver algorithm

Right now our resolver algorithms is a joke. It's need to work like this:

If address is a integer, it is a pid, in this case it should communicate locally, may be using inproc sockets from zmq.

If it's a tuple, it's a address/port, so is not locally. Should use a normal tcp socket from zmq.

Investigate how to make zmq cooperate with our scheduler

Right now when zmq is sending/receiven on a socket it will block our scheduler, need to make it cooperate. One alternative is to use gevent as our scheduler and zmq green, but we need to check if gevent will work with multuprocessing without monkey patch.

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.