TraceMachina / TraceMachina/nativelink

Implement Rate limiter for scheduler to avoid a huge spike in requests

Open
#2,087 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
1.6k
Forks
244
Avg merge
1d 16h
Merged PRs (30d)
54

Description

As the title suggests, we should add a rate limiter to the scheduler to limit the number of requests to the scheduler, to avoid overwhelming the system and to schedule the jobs flawlessly

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

The issue names no file, test, or entry point. Locate the scheduler implementation and first determine how requests are currently issued and where a rate limit should apply. Done means scheduler requests are capped to avoid a large spike while jobs continue to be scheduled reliably.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.