Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What happens when my app reaches the Prospective Search Subscriptions quota?

Can Google replenish this resource? If so, how are subscriptions billed when over quota? Costs? Anyone else using it for a real life large scale app? (tens or thousands of users/subcriptions?)

like image 689
Ricardo Cabral Avatar asked Nov 04 '22 13:11

Ricardo Cabral


2 Answers

New subscriptions will fail when over the subscription quota. Other quota is still in play but this is a hard ceiling right now.

So, at the time of this writing, unless you plan to keep your number of subscriptions under 10k, you are hosed.

Prospective search is great and I can't wait for it to finally come out of experimental status.

like image 123
Jay Avatar answered Nov 11 '22 06:11

Jay


Looking at the documentation here:

The life of a typical prospective search application looks something like this:

  1. You decide on the appropriate document schema. Your choice will depend on the type of source data that the application is designed to handle.
  2. The application uses the subscribe() call to register query subscriptions with prospective search using the query language.
  3. The application converts items in the streaming source data into documents, which are instances of db.Model.
  4. Theapplication uses the match() call to present documents to prospective search for matching against subscribed queries.
  5. Prospective search returns matching subscription IDs and documents in the task queue. These results are subject to the usual Quotas and Limits.

Based on that, looks like you are only subjected to the quotas limiting Task Queues, which can be found here.

like image 38
Sologoub Avatar answered Nov 11 '22 06:11

Sologoub