Skip to content

Distributed-System-OS-project/Distributed-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 

Repository files navigation

This is a distributed system created for our Operating Systems course, MCON-234.

How it works:


  1. A Server receives connections from Worker and Client programs
  2. The Server assigns an ID number to the Clients and Workers as they connect
  3. Clients send job descriptions to the server
  4. The Server assigns a job ID and puts the job on a queue to be assigned to a Worker
  5. The Server assigns the job to the Worker who will complete it in the least amount of time
  6. The Worker spends 2s completing a task it is optimized for, or 10s completing a task it isn't optimized for
  7. The Worker then informs the Server that it has completed the task
  8. The Server then informs the Client that its task has been completed

These programs are fully multi-threaded, and the Client and Worker programs communicate with the Server using sockets.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  

Languages