Hub notification should deliver a feed with delta entries only and not include unchanged entries

Description

Here is what the spec authors have to say on this:

https://mail.google.com/mail/?ui=2&shva=1#inbox/133a84e17cb5cd34

Currently Hub seems to be sending entire feed and this is a scalability and usability issue.

Environment

None

Activity

Show:
Farrukh Najmi
November 17, 2011, 1:23 PM

In a discussion with Robert Cooper this is what he had to say:

"The big problem is that the notification from the publisher doesn't contain new data, just a request to re-fetch. What we really need is a new implementation of a FetcherCache that returns a SyndFeed that only contains data that is new since the last time it was fetched. The question is, how to determine what is new... I would tend to say we need a synthetic key based on [post ID | ->link URL] & [publishedDate | editDate]."

Farrukh Najmi
November 18, 2011, 7:32 PM

Fixed in r80.

In order for Hub to deliver Notifications to subscriber that only have changed entities it MUST use a FeedFetcher that uses a DeltaFeedInfoCache. Otherwise the hub continues to send entire feed to subscribers.

See DeltaSyndFeedInfoTest on how to to Hub setup with new DeltaFeedInfoCache.

Fixed

Assignee

Farrukh Najmi

Reporter

Farrukh Najmi

Labels

None

Participants

None

Fix versions

Priority

Major