Skip to content

virtual directory colocation#2

Merged
gregjhogan merged 2 commits intoprodfrom
vdir-colocation
Sep 5, 2025
Merged

virtual directory colocation#2
gregjhogan merged 2 commits intoprodfrom
vdir-colocation

Conversation

@gregjhogan
Copy link

@gregjhogan gregjhogan commented Sep 3, 2025

Support placing items with the same prefix before the last slash in the key on the same volume server(s)

For example, the following keys will end up on the same volumes:
/a/b/c/1.txt
/a/b/c/2.txt

The benefit is if you lose one or more drives you are guaranteed to have complete virtual folders remaining (all files in a virtual folder path still exist).

Note that since virtual folder paths are being distributed randomly instead of files, the virtual folder paths need to all be of similar size to keep volumes balanced (volume disks all fill up at an equal rate)

@gregjhogan gregjhogan changed the title Vdir colocation vdir colocation Sep 4, 2025
@gregjhogan gregjhogan changed the title vdir colocation virtual directory colocation Sep 4, 2025
@gregjhogan gregjhogan merged commit 2dba81f into prod Sep 5, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant