microsoft / microsoft/pai

database controller watcher event queue optimization

Open
#4,780 0 comments 0 reactions 1 assignee View on GitHub

@hzy46 is already working on this.

Since Aug 4, 2020.

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

Description

In database controller, the watcher will send events to write merger. For each framework, the events are in a queue and sent in order. For example, in the following image, there are event 1, 2, 3, 4. Event n will always be sent after event n-1.

Since the transient status is not important, one possible optimization for the event queue is to omit some transient events. e.g. If we have event 1, 2, 3, 4, we can omit event 2 and event 3.

image

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.