apple / foundationdb

FoundationDB - the open source, distributed, transactional key-value store
https://apple.github.io/foundationdb/
Apache License 2.0
14.37k stars 1.3k forks source link

Improved role assignment #1279

Open richardalow opened 5 years ago

richardalow commented 5 years ago

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.

hgray1 commented 5 years ago

Discussed this and decided we should at least do the warning part for 6.2.