hulkster
Mar 23rd 2004, 7:03 pm
The Google API key allows you 1,000 queries/day - I was kinda curious what exactly a "day" is - i.e. does it reset every 24 hours (and when is that?) or is a "rolling limit" where it keeps track of when you made 'em, which would be more complicated to program/track.
There was some misc. discussion about this topic in another thead in this forum, (http://forums.digitalpoint.com/showthread.php?t=100&page=1&pp=10j) but I thought I would start a new thread summerizing my findings so this is easier to find for the next person that is interested in this piece of trivia.
Using a keyword tracker of my own (not as rockin' as Shawn's keyword tracker (http://www.digitalpoint.com/tools/keywords/)), I ran a buncha queries last night just before 2100 MST (0400 GMT) and exhausted it. I tried again this morning (thinking maybe the reset time was midnight Pacific time) and it still failed. I then fired it back up at 1820 MST (0120 GMT) and it still failed ... so I'm thinking "darn, looking like a 'rolling' reset, so this will take a slight bit more work to confirm".
But just for grins, I fired it back up at 1930 MST (0230 GMT) ... and it WORKED ... I was able to do a full 1,000 queries before it ran outa mojo again.
So .... this suggests the "key reset time" is between 0120 and 0230 GMT. Assuming this is handled via a cronjob that uses localtime, there may be an hour movement when daylight savings comes.
If I get motivated, I might try a test in the next week or so where I use up all the keys just before 0100 GMT and then see if I can do another 1,000 queries after 0230 to confirm my theory.
alek
P.S. If anyone from Google happens to read this, it would be really cool if you could do a "crontab -l" or whatever and let me know if I'm right ... or all wet! ;-)
There was some misc. discussion about this topic in another thead in this forum, (http://forums.digitalpoint.com/showthread.php?t=100&page=1&pp=10j) but I thought I would start a new thread summerizing my findings so this is easier to find for the next person that is interested in this piece of trivia.
Using a keyword tracker of my own (not as rockin' as Shawn's keyword tracker (http://www.digitalpoint.com/tools/keywords/)), I ran a buncha queries last night just before 2100 MST (0400 GMT) and exhausted it. I tried again this morning (thinking maybe the reset time was midnight Pacific time) and it still failed. I then fired it back up at 1820 MST (0120 GMT) and it still failed ... so I'm thinking "darn, looking like a 'rolling' reset, so this will take a slight bit more work to confirm".
But just for grins, I fired it back up at 1930 MST (0230 GMT) ... and it WORKED ... I was able to do a full 1,000 queries before it ran outa mojo again.
So .... this suggests the "key reset time" is between 0120 and 0230 GMT. Assuming this is handled via a cronjob that uses localtime, there may be an hour movement when daylight savings comes.
If I get motivated, I might try a test in the next week or so where I use up all the keys just before 0100 GMT and then see if I can do another 1,000 queries after 0230 to confirm my theory.
alek
P.S. If anyone from Google happens to read this, it would be really cool if you could do a "crontab -l" or whatever and let me know if I'm right ... or all wet! ;-)