#Despite not using or storing any files, the bandwidth usage is excessively high.

19 messages · Page 1 of 1 (latest)

hardy notch
#

why the bandwidth usage is excessively high.

cunning urchin
#

What was returned in your 60k spike?
If the size of each response was 1K then it will be 60MB and for you it seems like 2-3KB for each response.

It is not much but indeed bigger then average small responses

cunning urchin
#

Do you know what are the requests?

#

If there in web for example you can check the response size in the network tab

hardy notch
cunning urchin
#

Maybe a database response with a lot of documents ?

cunning urchin
#

In conclusion it’s a bit big response but nothing out of the ordinary

hardy notch
cunning urchin
#

If you will send back all the million documents in one response, then sure it will use a huge amount of bandwidth

hardy notch
cunning urchin
#

You can do it inside a function. Then it will be only internal bandwidth. And after filtering it inside the function send back only the filtered results

hardy notch
cunning urchin
#

Yes that will work.
When you’re initializing the function. Provide the use JWT instead of the API key

cunning urchin
#

I mean in the function