apple / apple/foundationdb

Make `status` cheaper (statuslite)

Open
#2,155 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
16.7k
Forks
1.6k
Avg merge
1d 20h
Merged PRs (30d)
126

Description

The current `fdbcli status` is expensive. Pulling status frequently can create extensive workload to cluster controller, affecting a cluster's performance.

Scenarios: If clients can monitor its cluster's status more frequently, it can better tune its workload based on the cluster's current load. This enables clients to adapt its workload on the cluster's status.

Observations:
1) Each status request does not need to pull all metrics.
2) Important status may be exposed through some fast path.

[This idea was proposed and discussed in FDB Offset 2019.]

Contributor guide

Open the contributing guide

Research direction

Start with the existing fdbcli status command and compare its behavior with the issue's observations about metric collection and fast paths. Define the statuslite scope and validate that frequent status requests reduce cluster-controller workload while still exposing the important status needed by clients.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, databases, distributed-systems
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.