Hello Daniel, In this case, you might not be reaching the per-day quota but the requests-per-second/per-minutes quota. I can't give you exact numbers, but please be aware that each user has different quotas: - number of request per seconds - number of request per hour - number of request per half-day - number of request per day
This is to ensure that no user abuses our APIs by sending too many requests a day, or too many requests per second that would be seen as a DOS attack. The best way to work-around this would be to limit the number of thread you have and implement an exponential backoff<http://en.wikipedia.org/wiki/Exponential_backoff>retry mechanism when catching this kind of exception. Best, Alain On Tue, Aug 30, 2011 at 5:11 AM, Daniel Florey <[email protected]>wrote: > Hi Alain, > > thanks for your quick response. > I am already using 2-legged OAuth to run the requests on behalf of > different users. > I am running into the per-user quota when executing batch requests. > If a user wants to add lets say 10,000 contacts to a contact group, I try > to execute this command as batches of 100 contacts each. > I tried to execute several batches in parallel to speed up this command but > I'm running into the over-quota exception when executing several batches > within a certain timeframe. > If there are better ways to perform this task efficiently, I'd be very > happy to get a hint. > > Thanks, > > Daniel > > -- > You received this message because you are subscribed to the Google > Groups "Google Contacts, Shared Contacts and User Profiles APIs" group. > To post to this group, send email to > [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://code.google.com/apis/contacts/community/forum.html > -- Alain Vongsouvanh -- You received this message because you are subscribed to the Google Groups "Google Contacts, Shared Contacts and User Profiles APIs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://code.google.com/apis/contacts/community/forum.html
