6 messages in com.googlegroups.google-picasa-data-apiRe: Why are the response times so slow?
FromSent OnAttachments
STP20 Nov 2007 19:26 
Jeroen Diderik21 Nov 2007 08:53 
Ryan Boyd (Google)21 Nov 2007 09:10 
Jeroen Diderik21 Nov 2007 09:16 
Jeroen Diderik21 Nov 2007 09:32 
STP22 Nov 2007 17:19 
Subject:Re: Why are the response times so slow?
From:Jeroen Diderik (jdid@gmail.com)
Date:11/21/2007 09:32:54 AM
List:com.googlegroups.google-picasa-data-api

I've run some tests with the following params: Test 1: Collect album information using: -
http://picasaweb.google.com/data/feed/api/user/mygallery?category=album&alt=json&callback=picasaweb&access=public - Gallery contains 43 albums resulting in an average of: 9KB in 1380ms

Following is done using uri like: http://picasaweb.google.com/data/feed/api/user/mygallery/albumid/510406148743744xxxx?category=photo&alt=json&callback=albums&max-results=25&start-index=1

Average results (no caching ofcourse): With collums: - Available photos in album - Max-results set in query - Average download time over 10 attempts - Size of response

avail.photos max-results download in size

394 25 313ms 12KB 394 100 609ms 21KB 394 500 1180ms 70KB

74 25 232ms 6KB 74 50 406ms 11KB 74 100 500ms 15KB

2 25 969ms 2KB

I actually do use max-results when collecting data of an album and have currently set it to 24. Will do some timing tests and send the results to this list.

On Nov 21, 2007 6:11 PM, Ryan Boyd (Google) <api.@google.com> wrote:

Hi,

Which feeds are you retrieving, and how many results are in the feed?

Have you tried using the max-results query param to limit the number of results returned, and then page through as needed? Does this speed it up for you?

On Nov 21, 8:53 am, "Jeroen Diderik" <jdid@gmail.com> wrote:

Same here, I use Json data feed for integration on my website and have for that reason build in caching with php (cache the json response only) to overcome the long waits for albums, that will not change on a daily basis any way. So it seems to me that the servers used are a tiny bit slower then one would normally require.

Regards, JD (http://www.jdee.nl)

On Nov 21, 2007 4:26 AM, STP <soer@gmail.com> wrote:

Hey everyone

I have just implemented a feature in a Ruby on Rails app, which makes it possible to look through a users albums and photos. I use ClientLogin and store the token in a temp file for the header. It all works fine but the response times from the Picasa Data API are often very slow. Sometimes I even get a time out.

I can't figure out if I have done something wrong (maybe with the authentication) or if the response time indeed are this slow.

It would be a big help if anyone would share their experience about the response time from the Picasa Data API, or if someone have any idea of what might cause this.

Any help is much appreciated.

Thanks STP