microsoft / microsoft/pai

If one job generates too many events, other jobs will also be affected

Open
#4,953 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

known issue
Dominant language
JavaScript
Stars
2.7k
Forks
554
Avg merge
20h 42m
Merged PRs (30d)
14

Description

Currently, to prevent the event collection from affecting our core functions e.g. job submission, we set up the following disk size control strategy for event watcher:

  • In event watcher, check the disk usage in the beginning. If the disk usage > 80%, stop the event watcher and exit with a non-zero code.
  • The disk check also happens every 60s. If the disk usage > 80%, stop the event watcher and exit with a non-zero code.
  • 60s and 80% are configurable.

However, this simple strategy will bring the following problem:

  • If a job generates too many events, it will affect all other jobs. To be detailed, other jobs' events will not be collected.

Contributor guide

No contributing guide indexed for this repository

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 concrete entry point beyond the event watcher and its disk-usage checks. Start by locating the event watcher implementation and how it associates events with jobs. Define how excessive events from one job should be isolated without affecting other jobs, then add validation for the intended behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.