Git Product home page Git Product logo

nadcs's Introduction

NaDCS

Not a Distributed Computing System, a rapidly deployable and highly scaleable distributed computing system for .Net Core that supports runtime dynamic code loading & unloading code using Docker.

Try

To get a feel for the project, you can spin it up right out of the box by deploying it to a local docker swarm and running the client example.

docker-compose build --parallel
docker swarm init
docker stack deploy -c docker-compose.yml nadcs

Build both Client & WorkToDo in the example folder. Then copy WorkToDo.dll into the same directory as Client.dll and start the Client project.

Demo

https://www.youtube.com/watch?v=-SgpyHsZa1U

Planned Features

So What Does It Do?

NaDCS [nɑ dɪks] intends to be a highly scaleable and rapidly deployable distributed computing system. First I'd like to establish some terms you'll see in the code a lot.

  • Node: A singular end-point that works to compute the requests submitted
  • Task: A singular request that will be distributed to a node to be computed
  • Scheduler: The central host that orchestrates all the Nodes and ballances the Tasks between them.
  • Client: The program or logic that submits Tasks to the Scheduler

The system intends to take on a star topology (atleast logically), and is simple in concept. A client, or any piece of arbitrary software is built but needs to execute a lot of complex code that takes too much time for it to complete on it's own, the solution is obvious but talk is easy.

This is where NaDCS comes in.

NaDCS's Node and Scheduler system will never need to be modified by the average user or developer, both are pre-built containerized images ready to go with only a few command line arguments seperating you from a working cluster of computing nodes. The only work that needs to be done is in the taskable code. Any code to be distributed to the nodes needs to be transplanted into a library that implements NLC functions similar to a SharedClass. And thats really it. After that it's a breeze to orchestrate tasks with the Scheduler from the Client using the provided library, the taskable code will be sent to the Scheduler and will then be distributed to the Nodes and dynamically loaded and prepared for Tasking. Each node will be notified and passed contextual parameters unique to that specific Task when the Scheduler decides to task the node. You only have to write the code once.

nadcs's People

Contributors

imvexed avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

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