Make the number of partition configurable #290
Labels
No labels
action
check-aws
action
discussion-needed
action
for-external-contributors
action
for-newcomers
action
more-info-needed
action
need-funding
action
triage-required
kind
correctness
kind
ideas
kind
improvement
kind
performance
kind
testing
kind
usability
kind
wrong-behavior
prio
critical
prio
low
scope
admin-api
scope
background-healing
scope
build
scope
documentation
scope
k8s
scope
layout
scope
metadata
scope
ops
scope
rpc
scope
s3-api
scope
security
scope
telemetry
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#290
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Garage partitions are similar to Ceph's placement groups (PG).
PG on Ceph are configurable. They had complex formula to compute an ideal number of placement groups. Now they autoscale them according to the load.
For some large or very specific deployments, having more tha 256 partitions could be required. Also, it seems that Ceph people have largely documented what are the impacts of having more/less partitions.
Refs
There is only a single line on why Ceph actually needs the number of placements groups to stay small:
In Garage there isn't much cost associated with having more partitions. Mostly:
Note that in Garage's current state, it is impossible to change the number of partitions in a cluster, as it would imply rewriting the entire database and we don't have code to do this.