Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
aggregator.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Aug 2008 at 19:19 UTC
Updated:
26 Aug 2008 at 12:03 UTC
Jump to comment: Most recent file
Comments
Comment #1
dries commentedDid this solve a performance issue on your website? The patch looks good but I'd be interested to learn how much queries this saves and whether this could add up to a significant performance improvement.
Comment #2
alex_b commentedWe did the same hash method in FeedAPI and saw huge performance improvements.
If a feed hasn't changed, using a hash essentially saves one or more expensive checks on uniqueness per feed item of a feed. With news feeds and 2 queries for uniqueness checking that can be up to 10 X 2 or 20 X 2 queries against a large set of data per feed.
The same algorithm has been implemented by SimpleFeed and by the patch for aggregator rework over here #236237.
Comment #3
dries commentedSounds good. I'd be happy to commit this patch -- it's a lot easier to review and commit than #236237: Aggregator rework: extensible API, SimpleXML parser, use taxonomy for categorization is.
Comment #4
mustafau commentedSmall update: Clean hash column when removing feed items.
Comment #5
mustafau commented@alex_b: Can you RTBC this?
Comment #6
dries commentedI gave it another review and committed this to CVS HEAD. Thanks.
Comment #7
alex_b commentedThank you. Great to see this in.
Comment #8
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.