apple / apple/foundationdb

Improved role assignment

Open
#1,279 1 comment 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

Current role assignment may not always optimise the best parameters. For example, if you have fewer stateless class processes in your cluster than proxies configured, you will get fewer proxies than you asked for. You may prefer FoundationDB to run proxies on other processes e.g. storage servers. But this needs some thought, as then you may get unpredictable performance as some storage servers will have more CPU load than others.

At the very least I think FoundationDB should warn to the user undesirable configurations of process sharing (particularly log and storage sharing) or if recruited counts are less than desired counts.

Contributor guide

Open the contributing guide

Research direction

Start by tracing FoundationDB's role-assignment and process-recruitment paths, focusing on stateless, proxy, log, and storage processes. Define expected behavior for fewer available processes, process sharing, and recruited counts, then determine how configuration warnings should be reported and validate the behavior across these cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
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.