polly-scheduler

Crates.iopolly-scheduler
lib.rspolly-scheduler
version0.1.5
sourcesrc
created_at2024-10-10 05:59:22.639982
updated_at2024-10-28 12:27:57.278205
descriptionA robust task scheduling system leveraging Tokio, with built-in fault tolerance, persistence, and recovery capabilities to ensure seamless task management and execution.
homepage
repositoryhttps://github.com/dongbin86/polly-scheduler
max_upload_size
id1403483
size133,939
dongbin86 (dongbin86)

documentation

https://docs.rs/polly-scheduler/0.1.5/

README

Polly Scheduler

Polly Scheduler is an asynchronous task scheduling system built on the Tokio runtime, designed for efficiency and simplicity. It supports a variety of scheduling options, including Cron, repeating tasks, and one-time executions. The scheduler features robust support for retrying failed tasks, ensuring reliable execution even in the face of transient errors.

Key Functionalities

  • Task State Persistence: Maintain task states across application restarts, ensuring continuity and reliability.
  • Task Queues: Efficiently manage tasks through dedicated queues, optimizing processing and execution order.
  • Process Restart Recovery: Automatically recover tasks that were in progress at the time of a process restart, minimizing disruptions.
  • Graceful Shutdown: Support for clean and controlled shutdowns, allowing tasks to complete before termination.
  • Crash Recovery: Capture crashes during task execution, preventing application exits and ensuring continued operation.

Inspired by the background-jobs library (version 0.19.0), Polly Scheduler offers a more streamlined approach, focusing on simplicity and ease of use. Currently, it supports Native DB as its persistent storage backend, making it a robust choice for developers seeking a reliable task scheduling solution.

Whether you need to run periodic tasks or manage complex job workflows, Polly Scheduler provides the features and flexibility you need to keep your applications running smoothly.

Commit count: 16

cargo fmt