facebook / facebook/rocksdb

Configuration guidance for docker/k8s and servers with small amount of resource

Open
#8,816 1 comment 0 reactions 0 assignees View on GitHub
question up-for-grabs
Dominant language
C++
Stars
32.1k
Forks
6.9k
Avg merge
32m
Merged PRs (30d)
1

Description

There's a lot of configuration keys that we can twist but it looks like nothing works for a very small server setup. In k8s you have to accurately predict the CPU and RAM usage to prevent pods to go down (usually because of OOM). This seems very difficult and memory is growing indefinitely.

Could someone please post some recommendations on how to keep the resource low? I'd like to be able to run TiDB (TiKV) in a pod with let say 512MB RAM and 0.1 CPU. What configuration would work? What parameters I should set and how?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.