Skip to content

bit vector + backoff timer + simpler implementation for faster slab reassignment#542

Closed
byrnedj wants to merge 3 commits intomemcached:nextfrom
byrnedj:next
Closed

bit vector + backoff timer + simpler implementation for faster slab reassignment#542
byrnedj wants to merge 3 commits intomemcached:nextfrom
byrnedj:next

Conversation

@byrnedj
Copy link
Copy Markdown
Contributor

@byrnedj byrnedj commented Sep 23, 2019

This PR addresses the implementation details for faster slab reassignment and the suggestions made by dormando. See #524 for more details.

@byrnedj byrnedj mentioned this pull request Sep 23, 2019
Copy link
Copy Markdown
Member

@dormando dormando left a comment

Choose a reason for hiding this comment

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

so much simpler and covers so many more improvements :)

@dormando
Copy link
Copy Markdown
Member

Thanks! Great timing, I was just about to sit down and give this a whack myself.

How did this look in your tests vs your previous patch?

@byrnedj
Copy link
Copy Markdown
Contributor Author

byrnedj commented Sep 24, 2019

It reassigns slabs at nearly the same speed. Which for all practical purposes is fast enough on our end (a few hundred GET requests for a few hundred slabs). Ran mc-crusher overnight, no issues so far.

@dormando
Copy link
Copy Markdown
Member

hmm I really want to include this in the next release but I haven't spent much time with it. It doesn't seem like anyone else has looked at it or tried it on a shadow/production workload either.

This might miss the next release, but they're coming pretty frequently right now.

@byrnedj
Copy link
Copy Markdown
Contributor Author

byrnedj commented Oct 1, 2019

Sounds good, let me know if there are any other issues.

@dormando
Copy link
Copy Markdown
Member

Fixed a couple minor nits and wrote a real commit message. It's now merged for the next release.

Think the 'next' branch will end up baking for a few days or a week, just doing a merge-down while I have a chance.

@dormando
Copy link
Copy Markdown
Member

Out in 1.5.20

@dormando dormando closed this Nov 11, 2019
@byrnedj byrnedj deleted the next branch November 11, 2019 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants