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

Avoid race conditions #187

Closed
1 of 3 tasks
argaen opened this issue Apr 17, 2017 · 2 comments
Closed
1 of 3 tasks

Avoid race conditions #187

argaen opened this issue Apr 17, 2017 · 2 comments

Comments

@argaen
Copy link
Member

argaen commented Apr 17, 2017

There are a couple of places at least identified where race conditions can occur:

Once #27 or #115 are implemented, should use the features to let the user choose whether to live or not with the possible race conditions.

TODO:

  • cached support for redlock
  • multi_cached support for redlock
  • increment: won't do
@argaen argaen changed the title Provide tools to avoid race conditions Avoid race conditions Apr 17, 2017
@argaen
Copy link
Member Author

argaen commented May 27, 2017

With #27 closed:

  • cached decorator can support now redlock algorithm to avoid stampede effects
  • I won't add support for multicached yet, need to tweak implementation a bit...
  • for increment command I'll leave it as it is for now.

argaen added a commit that referenced this issue Jun 2, 2017
#187 cached/multicached decorators to class :refactor
@argaen argaen modified the milestone: 0.7.0 Jun 2, 2017
@argaen
Copy link
Member Author

argaen commented Jun 29, 2017

I'll wait for someone to request for this functionality, don't want to implement this feature for now

@argaen argaen closed this as completed Jun 29, 2017
@argaen argaen removed this from the 0.7.0 milestone Jun 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant