Giter Site home page Giter Site logo

distributed-system's Introduction

Distributed System

Our operating systems project (a distributed system)

Whenever you're checking the instructions for specifics, please use the link. The professor noted that he'd be making updates throughout the semester over there.

Overall structure of the project:

  • Master
    • Slave(s)
  • 2 Clients (unless we want to make it dynamic, no matter the number)

There is expected to be one master.

Two types of slaves: A and B.

There will also be two types of jobs for the master to give to the slaves, a job called A and a job called B.

Slave A can do Job A better than Slave B can do Job A, and Slave B can do Job B better than Slave A can do Job B. Note that a job is just a period of time sleeping. Once "completed," the slave will notify the master it's done, and the master will let the appropriate client that the job has finished.

We are going to have to have some type of algorithm for "load balancing." This will be a sort of filter for clients when they're talking to the master. The master will use this algorithm for deciding what slave should get a job from a client.

Example: Let's say we have a client connecting to our master, and they have a Job A they need done. Now, in the typical case, we'd give that job to a slave which is optimized for Job A, which would be slave A, right? Now, at some point, giving a job to a slave A for a job A, will actually be slower than giving it to a suboptimized slave, slave B for a job A. These are the sort of things we'll have to implement in this load balancer.

distributed-system's People

Contributors

16bits3g4l 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.