S
S
SET12020-02-10 17:13:29
Google Cloud Platform
SET1, 2020-02-10 17:13:29

Google Vision API. How to distribute the load?

Suppose you want to determine what is shown in the photos that users upload through the client. The algorithm is as follows: the client sends a request to the application API with a photo upload -> the server accesses the Google Vision API -> receives a response and writes it to the database. The response from the Vision API takes 2-3 seconds. Every second, 5,000,000 such users need to be served. Is it enough to connect more instance servers to withstand such a load, or is the task still impossible? Maybe there are other ideas that I just don't know about? Thanks to.

PS: The application is written in PHP

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2020-02-10
@dimonchik2013

what's the question?
up - min (API limits, channel-server-perc)
to you - max(channel-server-perc)
set the server as the combination of these indicators
grows with anlim servers - the answer is "enough"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question