Note source in close time

I have a system that can get hundreds of RSS feeds. They are currently in a 10-minute refresh cycle, but I’d better hope that it will be faster. Get RSS feeds at near real-time/push intervals What is the strategy?

Some solutions I have encountered:

> Take it every 1 minute; if there is no change, get 2, then 4, then 8, etc. .
>Find the average update interval/variance of the RSS feed and put them in the bucket (updated every 3 minutes, so check every 1 minute; update once a week, so check once a day, etc.)

I have used something like yours. Start with the default time before retrieving the feed. If found For new items, the waiting period will be reduced by 10%, otherwise the waiting period will be increased by 10%. This adjustment must be performed for each update, and the system will adjust itself.

You can use different percentages, such as reducing faster Respond to the time of the update frequency change.

Include the minimum and maximum time span to keep waiting within a predefined range.

It is not perfect but it is enough for me.

I have a system that can get hundreds of RSS feeds. At the moment they are in a 10-minute refresh cycle, but I better hope that it will be faster. Near real-time/push What is the strategy for obtaining RSS feeds at intervals?

Some solutions I have encountered:

> Take it every 1 minute; if there is no change, get 2, then 4, then 8, etc. .
>Find the average update interval/variance of the RSS feed and put them in the bucket (updated every 3 minutes, so check every 1 minute; update once a week, so check once a day, etc.)

I have used something like you. Start with the default time before retrieving the feed. If a new item is found, the waiting period is reduced by 10%, otherwise it is increased 10%. This adjustment must be performed for each update, and the system will adjust itself.

You can use different percentages, such as reducing the time to respond to changes in update frequency more quickly.

Include the minimum and maximum time span to keep waiting within a predefined range.

It’s not perfect but it’s enough for me.

< /p>

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 1823 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.