Skip to content

Add s3 path nesting for profile and rendered buckets#80

Open
ArasakaWorker wants to merge 2 commits intoyandex:mainfrom
ArasakaWorker:add-s3-nesting
Open

Add s3 path nesting for profile and rendered buckets#80
ArasakaWorker wants to merge 2 commits intoyandex:mainfrom
ArasakaWorker:add-s3-nesting

Conversation

@ArasakaWorker
Copy link

Currently all raw profiles and rendered flamegraphs are stored in root of s3 bucket which leads to s3 degradation after inserting thousands of elements. This PR is a suggestion to split s3 key names by /. Wondering for the better place of TransformUUID function not to repeat it multiple times.

Also ready to hear ideas about fixing buildID names in binary bucket.

Signed-off-by: Morozov Maksim <maksim.morozov@vkteam.ru>
}

func TransformUUID(s string) string {
// Do not want to store all s3 files into root bucket, so make this workaroud for uuid

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// Do not want to store all s3 files into root bucket, so make this workaroud for uuid
// Do not want to store all s3 files into root bucket, so make this workaround for uuid

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Signed-off-by: Morozov Maksim <maksim.morozov@vkteam.ru>
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.

2 participants