Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP]Add support for ClearRegion for memcached #105

Conversation

themakshter
Copy link

This is an extremely crude solution at the start, but I just wanted you to look at it and give me your thoughts, I will be refining it next week.

The issues I have are that I would like to use the methods such as Set to set the values because it does a better job, with proper retries and such, but not quite sure how exactly to do that in your code. Do you have any suggestions? I would appreciate your comments.

This is using the solution recommended by memcached

@themakshter themakshter changed the title Add support for ClearRegion for memcached [WIP]Add support for ClearRegion for memcached Nov 4, 2016
MichaCo added a commit that referenced this pull request Feb 11, 2017
…#104.

Fixed custom transcoder to not care about non-object things.
Unix timestamp impl with benchmarks, for fun...
@MichaCo
Copy link
Owner

MichaCo commented Feb 11, 2017

@themakshter hey, I finally had some time to look into this. I first didn't really liked the implementation as it leaves existing keys still in the cache and they might never be removed ^^
But hey, if they write about that as a solution, why not. Better than not having anything I guess.

I had to implement the solution slightly more complex than your approach and decided to do it from scratch instead of merging your PR, sorry about that. But thanks for pushing the idea 👍

@MichaCo MichaCo closed this Feb 11, 2017
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.

None yet

2 participants