Skip to content

stats: reduce browser and server memory/cpu bursts when viewing stats from admin  #18675

@jmarantz

Description

@jmarantz

See related issues:

There are a few different cases to consider when dealing with aggregating stats when there are a large number of clusters. I don't think there is a single solution that's ideal for all of them. But I think for for the admin endpoint we should add endpoints help view stats in a single scope. So if someone has 10k clusters they can pick which cluster to look at and then bring that one in.

Any of the solutions that involve iterating over all the stats are going to involve a burst of CPU at least on the main thread, likely while holding the stats allocator lock for a long time.

A prototype scoped access solution exists in
#18670

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions