Skip to content
This repository has been archived by the owner on Feb 3, 2018. It is now read-only.

Introduce strategic prefetching #85

Merged
merged 4 commits into from
Aug 18, 2016
Merged

Introduce strategic prefetching #85

merged 4 commits into from
Aug 18, 2016

Conversation

sdboyer
Copy link
Owner

@sdboyer sdboyer commented Aug 18, 2016

Addresses #13

These expose a single method for ensuring that all necessary network
activity gets done. Basically, this makes prefetching a lot simpler.
There are two, somewhat-overlapping goals here:

1. Don't initiate network activity, even in the background, unless we're
pretty sure we're going to need the results of that work.
2. Don't initiate background network activity unless we're pretty sure
it will result in beneficial parallelism.

Basically, we want to avoid network activity if we can. If we're likely
to need it, though, then to avoid complexity growth owing to doing a ton
of background work (which entails synchronization), we do async
prefetching only if we have a strong reason to believe it will result in
parallelism.
@sdboyer sdboyer added this to the v0.10.0 milestone Aug 18, 2016
@sdboyer sdboyer self-assigned this Aug 18, 2016
@codecov-io
Copy link

Current coverage is 71.46% (diff: 71.42%)

Merging #85 into master will increase coverage by 0.43%

@@             master        #85   diff @@
==========================================
  Files            22         22          
  Lines          3130       3171    +41   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits           2223       2266    +43   
- Misses          698        706     +8   
+ Partials        209        199    -10   

Powered by Codecov. Last update d71e221...67df7d2

@sdboyer sdboyer merged commit 67df7d2 into master Aug 18, 2016
@sdboyer sdboyer deleted the prefetching branch September 22, 2016 03:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants