microsoft / microsoft/durabletask-netherite
Use cache-aware work item scheduling
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 239
- Forks
- 37
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 2
Description
Currently, orchestration work items are scheduled without taking into account what is currently in the cache.
To reduce thrashing when memory is an issue, we could implement a better scheduling mechanism that handles orchestrations that are in the cache first. We would still use some fairness mechanism to prevent starvation.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the orchestration work-item scheduling entry points and the cache state used by the scheduler. Read how work items are currently selected, then determine how cache preference and a starvation-prevention fairness mechanism should interact. Done means the scheduling behavior reduces cache thrashing while preserving fairness, with coverage for both priorities.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend, distributed-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100