Cloud Task Scheduling Simulator

Cloud task scheduling simulator comparing FCFS, SJF, Round Robin, Priority, EDF and a Fair Priority hybrid on VMs, with Gantt charts, deadline misses, fairness and VM-scaling experiments. Python, Tkinter, Matplotlib.

  • Price: ₹1,999
  • Category: Desktop App
  • Technology: Python, Tkinter, SQLite, Matplotlib, discrete-event simulation
  • Includes: Source code + database
  • Suitable for: BCA / B.Sc CS, MCA / M.Sc CS, B.E / B.Tech CSE & IT

Project overview

Deciding which task runs on which virtual machine and when is a core cloud-computing problem, and this simulator lets students see the effect of the decision. Tasks have an arrival time, length, deadline and priority; the VMs can have different speeds (for example 1,1,2). Six algorithms are implemented from scratch - FCFS, SJF, Round Robin with a time quantum, Priority, Earliest Deadline First and a Fair Priority hybrid that mixes priority, aging and deadline urgency. Each run shows a Gantt chart per VM and the makespan, waiting, turnaround and response times, missed deadlines, utilisation, Jain's fairness index and cost. The Compare screen runs all six on the same tasks, highlights the best algorithm and draws comparison charts; the VM Scaling experiment plots makespan and missed deadlines against the number of VMs. Task sets can be generated with a seed (repeatable), typed in, imported or exported as CSV, and comparisons can be saved. The engine is checked against hand-calculated examples, which makes it safe to explain in a viva.

Modules

  1. Login: Admin login with a salted password hash; change the password from the side menu.
  2. Tasks: Generate random tasks (count, seed, arrival window, longest task, deadline tightness), add / edit / delete tasks, import and export CSV.
  3. Simulate: Run one algorithm on VMs with chosen speeds; Gantt chart, six result cards and a per-task table with deadline status.
  4. Compare: Run all six algorithms on the same tasks; table with the best highlighted, two comparison charts, CSV export, save the run.
  5. VM Scaling: Experiment: makespan and missed deadlines for 1 to N VMs for the chosen algorithms.
  6. Saved Runs: List of saved comparisons with the best algorithm for waiting time and for deadlines.

Requirements

  • Python 3.11
  • Internet once, to install the libraries (about 2 minutes)
  • Windows 10 / 11

How to run this project

  1. Install Python 3.11 from python.org and tick "Add python.exe to PATH" during setup.
  2. Extract the zip and open the project folder (STUDENT_GUIDE.md explains every step in simple words).
  3. Double-click `1_INSTALL.bat` once and wait until it says [OK] (about 2 minutes; it downloads the libraries into a private .venv folder).
  4. Double-click `2_RUN.bat` to start the project. If it does not start, double-click `CHECK_SETUP.bat` and read what it says.
  5. Log in with admin / admin123.
  6. Open Compare and click 'Compare all 6 algorithms': discuss which algorithm waits least and which misses fewest deadlines. Open VM Scaling, run the experiment for FCFS, EDF and Fair, and explain how more VMs reduce makespan.

More Desktop App projects