citusdata / citusdata/pg_cron

Feature Request: Add Job Priority Support in pg_cron

Open
#391 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C
Stars
3.9k
Forks
260
Avg merge
5d 5h
Merged PRs (30d)
1

Description

Hi, all

We've been using pg_cron extensively, and it has been working great - thank you for this excellent tool.

As our usage has grown, we've encountered situations where we'd like to prioritize certain jobs when running with limited background worker processes.
This would be particularly useful when managing numerous scheduled tasks where some jobs are more important than others.

I understand implementing job priorities would require careful consideration around:
* Scheduling algorithms
* Fairness to prevent job starvation
* and more..

Before diving into implementation details, I wanted to check if there are any existing plans or discussions around this feature?
I'd be happy to contribute thoughts or help with development if this aligns with pg_cron's roadmap.

Looking forward to hearing your thoughts.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.