Adaptive feed update interval #51
Labels
No labels
admin tools
api
bug
documentation
duplicate
enhancement
feature
help wanted
in progress
internals
invalid
packaging
question
testing
trivial
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: MensBeam/Arsse#51
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A. If the feed provides update hints, use them
B. Otherwise if the feed was unchanged and:
C. Or if the feed was changed, compute the three intervals between the last four articles, and if any two fall within time frames listed in B, use that; otherwise check in an hour.
Addendum:
A is unrealistic without caching the hints, otherwise they are not available when the upstream server return 304. Given that such hints are not commonly used, it's almost certainly not worth the effort.
Additionally, an algorithm for repeated errors is separately required as well. Algo B could be used, but it probably makes more sense to do the following:
This allows for a quicker initial re-check, with a quick back-off, and a daily check after roughly 36 hours.