Welcome to the cuddy_supervisor
repository! This is the supervisor server for Cuddy, a robust and efficient background job system. The cuddy_supervisor
is responsible for keeping track of jobs and delegating them to workers, ensuring that your background tasks are managed effectively and reliably.
- Job Tracking: Keeps a record of all jobs, their status, and their results.
- Worker Delegation: Efficiently delegates jobs to available workers, optimizing resource usage.
- Fault Tolerance: Handles job failures and retries gracefully.
N/A
Before you begin, ensure you have met the following requirements:
- Rust toolchain installed (version 1.XX or higher).
- SQLite installed.
To get started with cuddy_supervisor
, clone this repository and build the project using Cargo:
git clone https://github.com/artmann/cuddy_supervisor.git
cd cuddy_supervisor
cargo build --release
Copy .env.example
to .env
.
Once configured, you can start the supervisor server:
cargo run
This will start the supervisor and it will begin monitoring the job queue, delegating tasks to workers as they become available.
When you're ready, start your application by running:
docker compose up --build
.
Your application will be available at http://localhost:7878.
N/A
Contributions are welcome! If you have suggestions or want to contribute new features, feel free to open a pull request or file an issue.
- Fork the repository.
- Create a feature branch (
git checkout -b feature/new-feature
). - Commit your changes (
git commit -m 'Add new feature'
). - Push to the branch (
git push origin feature/new-feature
). - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for more details.
Thank you for using cuddy_supervisor
! We hope it serves you well in managing your background jobs efficiently and reliably.