|
|
|
|
|
|
|
![]() |
#1 |
Certified Nice Person
|
From what I understand, the ever-decreasing speed of an aggregator as it ages is due to the fact that many of them (aggregation scripts) go through and scan what you have stored in your database from feed A and compare it that to feed A's present state. That's a lot of work, especially when you have that many feeds being handled and a now monstrous database. A more efficient aggregator would look at the post dates and add only what's new from a feed, instead of checking to see if old posts have been updated/edited. If they didn't get it right the first time, fuck 'em.
|
![]() |
![]() |
![]() |
#2 |
Lord help me, I'm just not that bright
|
I'd like one coded in C that generates new static pages every 2-5 minutes.
|
![]() |
![]() |
![]() |
#3 | |
Rock stars ... is there anything they don't know?
Join Date: Dec 2006
Posts: 14
|
Quote:
http://www.planetplanet.org/ Bu if you know some C, you can always optimize the parts that need to be ![]() |
|
![]() |
![]() |
![]() |
#4 | |
Lord help me, I'm just not that bright
|
Quote:
Hey Cash, That looks like a nice script. I'll have to give it a shot. And python is just cool. Thanks! |
|
![]() |
![]() |
![]() |
#5 | |
Rock stars ... is there anything they don't know?
Join Date: Dec 2006
Posts: 14
|
Quote:
Most feed aggregators should check for the server's Last-Modified/If-Modified-Since response or even better, its ETag/If-None-Match response. These responses tell you if a feed item has changed since the aggregator last checked it. You can read a little more about these here: http://diveintopython.org/http_web_s..._features.html |
|
![]() |
![]() |
![]() |
#6 | |
Lord help me, I'm just not that bright
|
Quote:
|
|
![]() |
![]() |
![]() |
#7 |
Rock stars ... is there anything they don't know?
Join Date: Dec 2006
Posts: 14
|
|
![]() |
![]() |
![]() |
#8 | |
Lord help me, I'm just not that bright
|
Quote:
<?php header('Last-Modified: ' . $date_string '); ?> ![]() |
|
![]() |
![]() |
![]() |
#9 |
Rock stars ... is there anything they don't know?
Join Date: Dec 2006
Posts: 14
|
|
![]() |
![]() |
![]() |
#10 |
Certified Nice Person
|
Then you drop their feed. Done! One can't expect to let a site to run itself and end up with quality. And if one forces an aggregator to look at every post in a heavy database, you must except that the slow down is going to occur.
Last edited by Useless; 2006-12-21 at 07:34 AM.. |
![]() |
![]() |
![]() |
#11 | |
Rock stars ... is there anything they don't know?
Join Date: Dec 2006
Posts: 14
|
Quote:
![]() After this discussion, I'm thinking: * it makes more and more sense to just keep at 50 items or so per feed at any given time. I think this should be enough to keep visitors busy and should keep your script running not too badly. * Writing your own aggregator is the way to go. Most of the ones I've used were too immature and didn't scale well. Gregarius and Lilina (PHP-based) would both start to choke at around 15,000 feed items (I read a lot of tech blogs). |
|
![]() |
![]() |
![]() |
|
|