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

Adds cached result backend #84

Merged
merged 14 commits into from
Oct 4, 2015
Merged

Adds cached result backend #84

merged 14 commits into from
Oct 4, 2015

Conversation

Koed00
Copy link
Owner

@Koed00 Koed00 commented Oct 4, 2015

  • Adds a global and per-task ``cached` option, which will redirect any results to the cache backend.
  • Adds count option for groups results which will block until the indicated amount of results in the group has been reached
  • Adds wait option for group results. Can be used in conjunction with count
  • Adds async_iter() command which takes an iterable set of arguments, asyncs them individualy against the cache backend and collates them back in to a single database result.

Koed00 added 12 commits October 1, 2015 14:58
first version of a result backend using django's cache framework
result_group and fetch_group can now be told to block for a certain number of results or a number of miliseconds or a combination of both.
With async iter you can quickly run the same function on an iterable set of arguments. The results are held in the cache until all are done and collated into a database result.
@codecov-io
Copy link

Current coverage is 96.15%

Merging #84 into master will increase coverage by +0.32% as of 0fc9434

@@            master     #84   diff @@
======================================
  Files           37      38     +1
  Stmts         2162    2416   +254
  Branches         0       0       
  Methods          0       0       
======================================
+ Hit           2072    2323   +251
  Partial          0       0       
- Missed          90      93     +3

Review entire Coverage Diff as of 0fc9434

Powered by Codecov. Updated on successful CI builds.

Koed00 added a commit that referenced this pull request Oct 4, 2015
Adds cached result backend
@Koed00 Koed00 merged commit ee87333 into master Oct 4, 2015
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