17 releases (4 breaking)

0.5.0 Mar 29, 2024
0.4.3 Mar 19, 2024
0.3.1 Mar 4, 2024
0.2.0 Feb 28, 2024
0.1.7 Dec 20, 2023

#595 in Database interfaces

Download history 8/week @ 2023-12-19 5/week @ 2024-02-13 128/week @ 2024-02-20 533/week @ 2024-02-27 427/week @ 2024-03-05 100/week @ 2024-03-12 182/week @ 2024-03-19 121/week @ 2024-03-26 31/week @ 2024-04-02

478 downloads per month

MIT/Apache

46KB
1K SLoC

aj

ci status

aj is solution for background jobs (based on actix).

Features & Docs

  • Jobs.
    • Type: Instantly, Schedule (Run at specific time), Cron.
    • Update job
    • Cancel job
    • Get job
  • Retry mechanism
    • Customizable failed and retry logic: You can handle case that you want to retry based on job output.
    • Configurable:
      • Max times
      • Strategy:
        • Interval Strategy
        • Exponential Strategy
  • Async (execution).
  • Persistent.
  • Flexible Broker and Backend with Backend trait: You can choose your database or storage engine that you want to use.
    • Native support:
      • Redis
      • In-memory (testing purpose)
    • Backend trait: you can implement your backend by your demand.
  • Custom processing speed.
    • Scan job period (tick).
    • Number of job per tick.
  • DAG
  • Admin Dashboard (UI)
  • Integration

examples

Using by:

  • ZenClass - ZenClass is an education platform that help you build your class - especially class assignments: Reminders / Scheduler, Version History.

If you're using aj, please contact rodgers@zenclass.co to update the list.

LICENSE

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in aj by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~11–24MB
~339K SLoC