sjf-be

command module
v0.0.0-...-905eacb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

README

SJF-BE: Shortest Job First Scheduler in Go

Ref Video:

https://github.com/user-attachments/assets/ecf95191-ff9f-42b0-a175-47575556c527

Do check out my article: Enhancing Scalability and Efficiency in Job Scheduling - Shortest Job First Algorithm

This project implements the Shortest Job First (SJF) scheduling algorithm as a backend service using Go. It provides a complete CRUD interface for managing jobs in the queue, prioritizing them according to their execution time.

Features

  • CRUD Operations: Create, Read, Update, and Delete jobs in the scheduler.
  • Priority Scheduling: Automatically prioritizes jobs based on their execution time.
  • Concurrency Handling: Efficiently manages concurrent job submissions and processing.
  • RESTful API: Easy to use REST API for interacting with the scheduler.

Getting Started

Follow these instructions to get the project up and running on your local machine for development and testing purposes.

Prerequisites
  • Go (version 1.19)
  • MongoDB
Installation
  1. Clone the repository:
git clone git@github.com:DaZZler12/sjf-be.git# SJF-BE: Shortest Job First Scheduler in Go

This project implements the Shortest Job First (SJF) scheduling algorithm as a backend service using Go. It provides a complete CRUD interface for managing jobs in the queue, prioritizing them according to their execution time.

## Features

- **CRUD Operations**: Create, Read, Update, and Delete jobs in the scheduler.
- **Priority Scheduling**: Automatically prioritizes jobs based on their execution time.
- **Concurrency Handling**: Efficiently manages concurrent job submissions and processing.
- **RESTful API**: Easy to use REST API for interacting with the scheduler.

## Getting Started

Follow these instructions to get the project up and running on your local machine for development and testing purposes.

### Prerequisites

- Go (version 1.19)
- MongoDB

### Installation

1. Clone the repository:

```bash
git clone git@github.com:DaZZler12/sjf-be.git

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
sjf
pkg
entities/database/mongo/orm
implements the MongoCollectionDerived interface which is a derived interface from the MongoCollection interface.
implements the MongoCollectionDerived interface which is a derived interface from the MongoCollection interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL