Histogram bucket feed polling #11

Merged
peter merged 3 commits from histogram-buckets-feed-polling into master 2022-04-16 13:28:04 +00:00
Owner

Solution: implement histogram buckets for feed polling

The feeds are now implemented in tiers. The tier is the bucket the feed
is in. To calculate the minutes to wait for when to fetch the next feed,
you add 2^tier minutes to the current time.
The feeds to fetch are filter by this time.

Solution: implement histogram buckets for feed polling The feeds are now implemented in tiers. The tier is the bucket the feed is in. To calculate the minutes to wait for when to fetch the next feed, you add `2^tier` minutes to the current time. The feeds to fetch are filter by this time.
peter added 1 commit 2022-04-16 12:58:50 +00:00
Problem: feeds are fetched every hour and haven't changed, or have changed often
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
c9543e7a83
Solution: implement histogram buckets for feed polling

The feeds are now implemented in tiers. The tier is the bucket the feed
is in. To calculate the minutes to wait for when to fetch the next feed,
you add 2**tier minutes to the current time.
The feeds to fetch are filter by this time.
peter added 1 commit 2022-04-16 13:05:48 +00:00
Problem: we use older Go version
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
179955dbc7
Solution: upgrade Go version to 1.18.1
peter added 1 commit 2022-04-16 13:13:32 +00:00
Problem: strings.Title is deprecated
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
a2f04e4d6e
Solution: use golang.org/x/text/cases instead
peter changed title from Problem: feeds are fetched every hour and haven't changed, or have changed often to Histogram bucket feed polling 2022-04-16 13:14:57 +00:00
peter merged commit a3dd194472 into master 2022-04-16 13:28:04 +00:00
peter deleted branch histogram-buckets-feed-polling 2022-04-16 13:28:04 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: peter/ekster#11
No description provided.