Skip to content

Add an in-memory TaskManager implementation #98

@inoorinoor

Description

@inoorinoor

Problem

Currently, the library provides task scheduling support via external dependencies such as Redis or a database. However, in some cases services may run as a single instance where no external storage is available or needed.

For example:

  • A service deployed as a single instance.
  • The service does not use a database or Redis at all.
  • Task scheduling is only required in-memory within that process.

In such scenarios, it would be very useful to have a built-in in-memory TaskManager implementation. This would allow developers to use the scheduling features without introducing additional dependencies just for task locks.

An in memory task manager could:

  • Provide the same API as the existing task managers, so users can switch between implementations if needed.
  • This feature would simplify adoption for lightweight services and make the library more flexible.

Would you consider adding such an in-memory implementation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions