问题描述
使用Google Cloud 是否有限制或限制每秒可以向搜索索引添加多少个文档?
我知道Search API非常适合以这种方式进行查询和扩展,但每秒多少个单独文档呢?对每个文档使用唯一索引会提高性能吗?
我之所以问这个问题,是因为我将构建一个应用程序,它将包含许多Datastore投入和一个相应的搜索Datastore实体放置后立即放置文档。我很想知道,如果Search API与数据存储一样强大,那么每秒提交很多提交内容时都会如此。我希望随着应用程序的增长而线性扩展,而不是使用任务队列稍后将搜索文档与数据存储实体同步。
我的应用程序的性质要求同时放置实体和文档。
在:
因此,看起来存在安全限制每秒大约250次写/删除。如果应用持续增长并且不断增长,那将无法跟上数据存储。
如果有人有关于此的更多信息,请评论/回答。谢谢:)
With the Google Cloud Search API is there a limit or restriction to how many documents you can add to a search index per second?
I know the Search API is great for querying and scales well that way, but what about many individual document puts per second? Would using a unique index for each document put improve performance?
The reason I ask is because of an application I will be building that will have many Datastore puts with one respective Search document put right after the Datastore entity gets put. I am wondering if the Search API is as robust as the Datastore when it comes to many puts per second. I'd like to scale both linearly as the application grows rather than use a Task Queue to sync the Search document with the Datastore entity later.
The nature of my application calls for both the entity and document to be put at the same time.
Found this at the bottom of the docs:
So it looks like there is a safety limit that works out to be about 250 writes/deletes per second. That would not be able to keep up with the Datastore if the app kept growing and growing.
If anyone has any more information on this please comment/answer. Thank you :)
这篇关于Google Cloud Search API - 每秒文档投放数量是否有限制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!