2

I'm experimenting with the Search API with appengine, and am consistently running into the "short term burst quota" described in this SO post: quotas on appengine search api for java.

In our use case, we need to delete all documents from an Index, and re-populate the index. We've attacked this by:

  1. Looping through the list and deleting documents
  2. Adding documents through a task queue (1/s) throughput rate

I'm still bumping against this burst limit and I'm wondering if I might have to put a sleep when I delete the documents?

This burst rate is severely limiting us (since we are building these indexes on the fly based on other criteria) and am curious if anyone has any more insight.

Community
  • 1
  • 1

2 Answers2

1
  1. You should limit the usage using a queue and not sleep (never ever use sleep in AppEngine).
  2. You can request an increase on your quota.
Shay Erlichmen
  • 31,691
  • 7
  • 68
  • 87
0

I believe that there is a 100 calls per minute quota as well as 20k per day (although the per minute quota may now have been removed).

The best way around this that I have found is with cursors and taskqueues to spread the load.

notreadbyhumans
  • 607
  • 9
  • 17