Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Reduce UI Support #500

Merged
merged 24 commits into from
Feb 3, 2023
Merged

feat: Reduce UI Support #500

merged 24 commits into from
Feb 3, 2023

Conversation

veds-g
Copy link
Contributor

@veds-g veds-g commented Jan 23, 2023

Fixes #470

Added pod level data for vertices - show metrics, watermarks, processing rates for individual pods in a vertex
Added edge level data - show back-pressure for each edge in case of multiple edges between vertices

@veds-g veds-g force-pushed the pipeline-watermark branch 3 times, most recently from 7ec4297 to e3f7627 Compare January 23, 2023 13:44
Copy link
Member

@vigith vigith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am debating whether we should move PodWatermark under the UI section because it is not required otherwise. It can be derived from other functions. Personally, I do not want to change/add anything to the watermark code without a thorough review since it is very integral to data processing correctness.

@whynowy @chromevoid @ashwinidulams WDYT?

pkg/daemon/client/daemon_client.go Outdated Show resolved Hide resolved
pkg/daemon/server/service/pipeline_watermark_query.go Outdated Show resolved Hide resolved
pkg/reconciler/vertex/scaling/scaling.go Outdated Show resolved Hide resolved
pkg/watermark/fetch/edge_fetcher.go Outdated Show resolved Hide resolved
pkg/watermark/fetch/interface.go Outdated Show resolved Hide resolved
pkg/watermark/fetch/source_fetcher.go Outdated Show resolved Hide resolved
pkg/watermark/generic/noop.go Outdated Show resolved Hide resolved
pkg/apis/proto/daemon/daemon.proto Outdated Show resolved Hide resolved
pkg/reconciler/vertex/scaling/scaling.go Outdated Show resolved Hide resolved
@veds-g veds-g marked this pull request as draft January 24, 2023 16:32
@veds-g veds-g marked this pull request as ready for review January 25, 2023 11:09
@veds-g veds-g requested review from whynowy and vigith January 30, 2023 03:45
@Krithika3
Copy link
Contributor

Just curious - Added edge level data - show back-pressure for each edge in case of multiple edges between vertices? - Did this not already exist? @veds-g @vigith

@vigith
Copy link
Member

vigith commented Feb 1, 2023

Just curious - Added edge level data - show back-pressure for each edge in case of multiple edges between vertices? - Did this not already exist? @veds-g @vigith

"edges" is a misnomer, what we are doing now is back-pressure on buffers. What that means is, for a reduce vertex a logical edge is backed by multiple buffers. @veds-g is showing backpressure per partition of an edge.

Signed-off-by: veds-g <[email protected]>
@veds-g veds-g requested a review from whynowy February 3, 2023 05:14
Copy link
Member

@whynowy whynowy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -40,13 +44,17 @@ func GetVertexWatermarkFetchers(ctx context.Context, pipeline *v1alpha1.Pipeline
}

for _, vertex := range pipeline.Spec.Vertices {
// key for fetcher map ~ vertexName/replicas
replicas := int64(1)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't it be 0? For a sink, there's only 1 partition on its right, then we put the key as vertexName/replicaIndex, which is vertexName/0.

@whynowy whynowy merged commit 1e34e31 into numaproj:main Feb 3, 2023
@veds-g veds-g deleted the pipeline-watermark branch February 6, 2023 11:20
ashwinidulams pushed a commit that referenced this pull request Feb 14, 2023
@veds-g veds-g restored the pipeline-watermark branch February 16, 2023 07:47
@veds-g veds-g deleted the pipeline-watermark branch February 16, 2023 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reduce UI support
4 participants