Giter VIP home page Giter VIP logo

perun's Introduction

Perun

Perun is a Peer-To-Peer Infrastructure-As-A-Service platform

Perun allows you to run code on other peoples machines or let other people run their code on your machine

Architecture

Perun consists of 3 main components: Client, Manager and Provider

  • Clients request Manager to run their code remotely
  • Manager assigns execution of client code to one of the Providers
  • Providers run code assigned by Manager and return back the results

Roadmap

TODO

  • Make a provider-api (name in progress) with RegisterProvider method
  • Message broker for passing jobs to assigner?
  • Make assigner check for updates in db:jobs and assign their execution to providers
  • Connector: register providers in DB on connect
  • Connector: method to return active connections
  • Connector: provider parameter on every Api request
  • Assigner: call Connector methods
  • Provider: Call Connector InitConnection on start and listen for commands
  • Add an UpdateRunStatus method to provider-api
  • Make provider push container status and stdout updates to provider-api
  • Ability to kill a job via client-api
  • Integration tests
  • Add docker-compose for all control-plane services
  • Add Job and Run status constants
  • Make job id a string
  • Use OpenAPI 3.0 instead of Swagger 2.0
  • Handle provider host aliases (domain.com, 123.122.33.22, etc.)

Features possible in the future

  • re-run container if interrupted
  • get live stdout/stderr via websockets
  • ssh into containers
  • privacy for providers -> ip address hidden
  • shh proxy
  • exposed ports limited
  • proxy exposed ports
  • allow to mount drives (?)
  • providers rating
  • cli client
  • client libraries

How to contribute

Code generation

go generate ./...

perun's People

Contributors

sithell avatar

Watchers

 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.