Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Incrementally syncing states?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  11 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Mariano Kamp  
View profile  
 More options Oct 19 2010, 12:37 pm
From: Mariano Kamp <mariano.k...@gmail.com>
Date: Tue, 19 Oct 2010 18:37:58 +0200
Local: Tues, Oct 19 2010 12:37 pm
Subject: Incrementally syncing states?

Hi Mihai.

I have a question about syncing states. I got a couple of bug reports about
syncing the starred state of articles not working anymore, but I believe
this worked before.

When I try to get articles that have recently been unstarred I use a query
like this:

$ curl --header "Authorization: GoogleLogin auth=AUTH"  "
https://www.google.com/reader/api/0/stream/items/ids?s=user/-/state/c...
"

However I get an empty list even though I just unstarred an article:
<object>
  <list name="itemRefs" />
</object>

To find articles that have been recently starred this still works however:

$ curl --header "Authorization: GoogleLogin auth=AUTH"  "
https://www.google.com/reader/api/0/stream/items/ids?s=user/-/state/c...
"

<object>
  <list name="itemRefs">
    <object>
      <number name="id">SOME_ID</number>
      <list name="directStreamIds">
        <string>
        user/SOME_USER/state/com.google/starred</string>
      </list>
      <number name="timestampUsec">SOME_TIMESTAMP</number>
    </object>
  </list>
</object>

Any idea? I found this conversation where you hinted that you're
investigating removing syncing/incremental updates:
http://groups.google.com/group/fougrapi/browse_thread/thread/a4c2dff8...
Has this happened already? Are you dropping support for like, shared,
broadcast-friends also?

Are there any plans for a replacement? Maybe even with support for read
states?
Is it really more efficient (load / bandwidth) for you to get the 10,000
latest starred, 10,000 latest liked, 10,000 latest broadcast-friends etc? It
sure isn't for a syncing client.

Can you share your general view on syncing clients and their future with
respect to the Google Reader API? Are they relevant to your footprint/bottom
line at all?

Cheers,
Mariano


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mariano Kamp  
View profile  
 More options Oct 26 2010, 6:01 am
From: Mariano Kamp <mariano.k...@gmail.com>
Date: Tue, 26 Oct 2010 12:01:28 +0200
Local: Tues, Oct 26 2010 6:01 am
Subject: Re: Incrementally syncing states?

Let's assume the feature has been silently dropped, no replacement in sight,
no official stance 3rd party apps and future directions.

Based on that, is it possible to make the approach to gather all 10,000
read, liked, starred, broadcast-friends, shared etc. more efficient? At
least in terms of bandwidth?

Could a checksum be added to the result and when I pass in the checksum the
response will be emtpy?
I don't think this will help much with the read state, but for the other
states this could be a real help in terms of saved bandwidth.

On Tue, Oct 19, 2010 at 6:37 PM, Mariano Kamp <mariano.k...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mihai Parparita  
View profile  
 More options Oct 26 2010, 1:16 pm
From: Mihai Parparita <mih...@google.com>
Date: Tue, 26 Oct 2010 10:16:56 -0700
Local: Tues, Oct 26 2010 1:16 pm
Subject: Re: Incrementally syncing states?
Note that the only thing that was dropped was the deleted stream
support, the regular ones should still work.

Though not as good as a checksum, there is a count endpoint:

https://www.google.com/reader/api/0/stream/items/count?s=user/-/state...

You could use that to see if the total number of starred, shared, etc.
items has changed, and only request the full set of IDs if it has.

Mihai


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nick Bradbury  
View profile  
 More options Oct 27 2010, 11:45 am
From: Nick Bradbury <nick.bradb...@gmail.com>
Date: Wed, 27 Oct 2010 08:45:15 -0700 (PDT)
Local: Wed, Oct 27 2010 11:45 am
Subject: Re: Incrementally syncing states?
Hi Mihai,

I wasn't aware of that endpoint - I'm sure I could use it to cut
bandwidth, too.  Does it accept any other parameters besides "s" and
"n"?

Thanks,
Nick

On Oct 26, 1:16 pm, Mihai Parparita <mih...@google.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mariano Kamp  
View profile  
 More options Oct 27 2010, 1:12 pm
From: Mariano Kamp <mariano.k...@gmail.com>
Date: Wed, 27 Oct 2010 19:12:33 +0200
Local: Wed, Oct 27 2010 1:12 pm
Subject: Re: Incrementally syncing states?

Hi Mihai.

The deleted/changed items work in tandem. If I don't get which ones are
removed I would need to go for all ids anyway if the sync should be
accurate.

The approach you mentioned may not be accurate too, if one new article was
starred and a new "processed" one is not starred anymore. This might be at
least confusion to users, because the behavior is non-obvious and hence a
support issue also. It would not be a problem if it produces false
indicators of a changed state, as it would just mean more work occasionally,
but a false indicator of nothing to work will put a syncing client
out-of-sync.

Maybe it is something that the network infrastructure can do using an ETag (
http://en.wikipedia.org/wiki/HTTP_ETag)? It would fit the bill nicely as the
url wouldn't change, because an &ot parameter isn't supported anyway for
those cases and so the url remains fixed.
Of course I don't know nothing about the Google HTTP infrastructure, but in
general the url/ETag scheme could be (maybe already is?) supported totally
without changing backend logic.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mihai Parparita  
View profile  
 More options Oct 27 2010, 2:37 pm
From: Mihai Parparita <mih...@google.com>
Date: Wed, 27 Oct 2010 11:37:01 -0700
Local: Wed, Oct 27 2010 2:37 pm
Subject: Re: Incrementally syncing states?

On Wed, Oct 27, 2010 at 8:45 AM, Nick Bradbury <nick.bradb...@gmail.com> wrote:
> I wasn't aware of that endpoint - I'm sure I could use it to cut
> bandwidth, too.  Does it accept any other parameters besides "s" and
> "n"?

No, that's it.

> Maybe it is something that the network infrastructure can do using an ETag
> (http://en.wikipedia.org/wiki/HTTP_ETag)? It would fit the bill nicely as
> the url wouldn't change, because an &ot parameter isn't supported anyway for
> those cases and so the url remains fixed.
> Of course I don't know nothing about the Google HTTP infrastructure, but in
> general the url/ETag scheme could be (maybe already is?) supported totally
> without changing backend logic.

Yes, ETag and If-Modified-Since support could be added, but I don't
think we have the engineering resources to promis that anytime soon
(I'm no longer on Reader, so I can't say for sure).

Mihai


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mariano Kamp  
View profile  
 More options Oct 27 2010, 2:45 pm
From: Mariano Kamp <mariano.k...@gmail.com>
Date: Wed, 27 Oct 2010 20:45:41 +0200
Local: Wed, Oct 27 2010 2:45 pm
Subject: Re: Incrementally syncing states?

Sounds great.

Do the other guys left on the team read here? Could we get the deleted
stream back until the ETag implementation? ;)

Not sure if appropriate ... but if so ... congrats on your new job ;)

Cheers,
Mariano


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nick Bradbury  
View profile  
 More options Oct 27 2010, 5:31 pm
From: Nick Bradbury <nick.bradb...@gmail.com>
Date: Wed, 27 Oct 2010 14:31:17 -0700 (PDT)
Local: Wed, Oct 27 2010 5:31 pm
Subject: Re: Incrementally syncing states?
Didn't realize you'd moved on - hopefully congratulations are in
order!

How many people are left on the Reader team now?

Nick

On Oct 27, 2:37 pm, Mihai Parparita <mih...@google.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mihai Parparita  
View profile  
 More options Oct 27 2010, 5:34 pm
From: Mihai Parparita <mih...@google.com>
Date: Wed, 27 Oct 2010 14:34:06 -0700
Local: Wed, Oct 27 2010 5:34 pm
Subject: Re: Incrementally syncing states?

On Wed, Oct 27, 2010 at 2:31 PM, Nick Bradbury <nick.bradb...@gmail.com> wrote:
> Didn't realize you'd moved on - hopefully congratulations are in
> order!

Yep, I'm on Chrome now:
http://blog.persistent.info/2010/08/moving-down-stack.html

> How many people are left on the Reader team now?

Arif Siddiquee is on the Reader team, I believe he reads this group.

Mihai


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nick Bradbury  
View profile  
 More options Oct 27 2010, 6:07 pm
From: Nick Bradbury <nick.bradb...@gmail.com>
Date: Wed, 27 Oct 2010 15:07:18 -0700 (PDT)
Local: Wed, Oct 27 2010 6:07 pm
Subject: Re: Incrementally syncing states?
Not sure how I missed that blog post of yours - if only I had a tool
that could make sure I see relevant articles in my feeds! :)

Moving to Chrome sounds like a great step for you, so congrats
definitely are in order.  Thanks for all the help you've provided
here, and for pushing RSS ahead with your work on Reader through the
years.

Nick

On Oct 27, 5:34 pm, Mihai Parparita <mih...@google.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mariano Kamp  
View profile  
 More options Oct 28 2010, 2:47 am
From: Mariano Kamp <mariano.k...@gmail.com>
Date: Thu, 28 Oct 2010 08:47:53 +0200
Local: Thurs, Oct 28 2010 2:47 am
Subject: Re: Incrementally syncing states?

Yes, absolutely.

Thank you very much.

On Thu, Oct 28, 2010 at 12:07 AM, Nick Bradbury <nick.bradb...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »