Skip to content

This project implements jobs executions in one replica only in multi-replica application with utilization of Quartz.NET library

License

Notifications You must be signed in to change notification settings

ArturMarekNowak/QuartzClusteringPoc

Repository files navigation

QuartzClusteringPoC

Build Trivy and dockler CodeFactor

This project implements jobs executions in one replica only in multi-replica application with utilization of Quart.NET library

Table of contents

General info

The implementation is really simple as Quartz.NET comes with out-of-the-box clustering mechanism. Database contains a proper schema which provides reliable and only source of truth about executed jobs. Replicas communicate with the database and aware who is executing job, if execution is running now etc. Failovers and retries is also available.

Pic.1 Example of failover mechanism

Overall project consists of four docker containers. Three with .NET API and one with postgres database.

Pic.2 Visualization of docker compose project

Technologies

  • .NET 8
  • Postgres
  • Docker
  • Quartz.NET

Setup

  1. Run docker compose in src folder: docker-compose up

Status

Project is: finished

Inspiration

Shower thoughts

About

This project implements jobs executions in one replica only in multi-replica application with utilization of Quartz.NET library

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published