Giter Club home page Giter Club logo

casse's Introduction

Cron and Scheduled Serverless Execution (CASSE)

Introduction

Welcome to the Cron and Scheduled Serverless Execution (CASSE) project! This repository contains the source code, documentation, and resources for implementing a dynamic cron scheduler tailored for HTTP requests and serverless function deployment. The project aims to bridge the gap between traditional cron scheduling and modern serverless computing, offering a comprehensive framework for task automation in web environments.

Table of Contents

Features

  • Dynamic Task Scheduling: Schedule tasks based on time, events, or external triggers.
  • Serverless Function Deployment: Seamlessly deploy functions written in various programming languages.
  • HTTP Triggering: Invoke serverless functions via standard HTTP endpoints.
  • Scalability and Reliability: Designed for high concurrency and fault tolerance.
  • User-Friendly Interface: Intuitive UI for task configuration and monitoring.

Architecture

The system is built using the following components:

  • User Authentication: Secure access using JSON Web Tokens (JWT).
  • Function Deployment: Deploy functions to AWS Lambda and manage them through AWS API Gateway.
  • Cron Job Scheduling: Use the Clockwerk library for creating and managing cron jobs.
  • Job Execution: High-concurrency job execution using Golang and the fasthttp library.
  • User Management: Manage user profiles, permissions, and notifications with Flask backend.

Setup and Installation

Prerequisites

  • Docker
  • AWS Account
  • Postman (for API testing)

Installation Steps

  1. Clone the Repository:

    git clone https://github.com/yourusername/CASSE.git
    cd CASSE
  2. Environment Setup: Configure your AWS credentials and other environment variables in the .env file.

  3. Docker Setup:: Build and run the Docker containers:

    docker-compose up --build
  4. API Documentation: Import the provided Postman collection to explore and test the APIs.

Testing

  • Total Jobs: 517
  • Total Users: 100
  • Total Serverless Functions: 178

Resource Usage:

  • CPU: ~0.25% of a single core
  • Memory: ~370 MB

Results and Conclusion

This project successfully addresses the challenges of dynamic task scheduling and serverless function deployment. By integrating cron scheduling with serverless computing, we provide a flexible and scalable solution for task automation in web environments. The intuitive interfaces and seamless workflows enhance developer productivity, enabling efficient task orchestration without the overhead of infrastructure management.

Contributing

We welcome contributions to enhance the CASSE project! Please follow the standard GitHub Flow and submit pull requests for review.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Credits

Developed by

  • Smit Sandeep Butle
  • Swapnil Satish Mali
  • Siddhesh Sunil Kitkaru

Under the guidance of

  • Prof. N.L. Mudegol
  • Dr. M. A. Shah

casse's People

Contributors

smitbutle avatar sid-1164 avatar

Watchers

 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.