Skip to content

backendCache dogpile protection#1

Open
github-vincent-miszczak wants to merge 1 commit intomainfrom
backend-cache-dogpile-protection
Open

backendCache dogpile protection#1
github-vincent-miszczak wants to merge 1 commit intomainfrom
backend-cache-dogpile-protection

Conversation

@github-vincent-miszczak
Copy link
Copy Markdown
Owner

@github-vincent-miszczak github-vincent-miszczak commented Oct 13, 2020

Prevent multiple compute of the same data when using memcache cache backend.

It's opt-in, meaning that the current behavior is not modified unless explicitly configured.

It uses a pseudo-lock on memcache. In the worst case where a carbonapi server is slow or dies while holding the lock, the lock expires and the value is recomputed.

@github-vincent-miszczak github-vincent-miszczak marked this pull request as ready for review October 13, 2020 15:04
@github-vincent-miszczak github-vincent-miszczak changed the base branch from main to master October 13, 2020 15:24
@github-vincent-miszczak github-vincent-miszczak changed the base branch from master to main October 13, 2020 15:24
@github-vincent-miszczak github-vincent-miszczak force-pushed the backend-cache-dogpile-protection branch from 14f3772 to 9ebab4a Compare October 13, 2020 15:31
@github-vincent-miszczak github-vincent-miszczak changed the base branch from main to master October 13, 2020 15:32
@github-vincent-miszczak github-vincent-miszczak changed the base branch from master to main October 13, 2020 15:32
@github-vincent-miszczak github-vincent-miszczak force-pushed the backend-cache-dogpile-protection branch from 9ebab4a to 458cf09 Compare October 14, 2020 07:57
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