later

Crates.iolater
lib.rslater
version0.0.10
sourcesrc
created_at2022-07-12 21:00:51.495747
updated_at2022-08-16 17:03:49.165139
descriptionDistributed Background jobs manager and runner for Rust
homepage
repositoryhttps://github.com/mustakimali/later
max_upload_size
id624707
size98,111
Mohammad Mustakim Ali (mustakimali)

documentation

https://docs.rs/later

README

later

A distributed background job manager and runner for Rust. This is currently in PoC stage.

Set up

Look at the documentations for details. In general the one time setup involves:

  • Import later and required dependencies
  • Define some types to use as a payload to the background jobs
  • Generate the stub
  • Use the generated code to bootstrap the background job server

Features

Fire and forget jobs

Fire and forget jobs are executed only once and executed by an available worker almost immediately.

Continuations

One or many jobs are chained together to create an workflow. Child jobs are executed only when parent job has been finished.

Delayed jobs

Just like fire and forget jobs that starts after a certain interval.

Recurring jobs

(wip)

Run recurring jobs based on cron schedule.

  • To fix: to delete recurring job.

Project status

This is PoC at this moment. Upcoming features are

  • Multiple storage backend (redis, postgres)
  • Continuation
  • Delayed Jobs
  • Recurring jobs
  • Dashboard
  • Use storage backend for scheduling (to remove dependency to RabbitMQ)
  • Ergonomic API
Commit count: 104

cargo fmt