microsoft / microsoft/durabletask-netherite

Use cache-aware work item scheduling

Open
#122 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.