#What is counted as bandwidth?

12 messages · Page 1 of 1 (latest)

silk mist
#

Can you tell me what counts in the bandwidth statistics? For sure, these are files that are uploaded and requested by a user. But does internal traffic count? So for example, if I upload a 5mb file to a bucket and use this 5mb file in a function using storage.getFileDownload(), will that count as 10mb bandwidth or is internal traffic free? And will document request also count as bandwidth?

Kind regards,
Marius

shell knot
#

Hi! all the bandwidth through the Appwrite API will count towards bandwidth. However, there is an exception - the data migrated from other vendors that will not count to usage.

silk mist
#

Alright, thank you @shell knot. So also internal Bandwidth counts? For example downloading an Image from an Appwrite Bucket into a Function? Is there a way to directly access images through function without downloading them through the API to safe bandwidth?

eager tundra
tiny raven
eager tundra
#

Thanks! Just to make sure I get this right - if my function reads 10 documents from the DB, but only sends 1 out to the client, would the bandwidth be 11 (10+1), or 1?

eager tundra
#

Affirmative 11, or 1?

timid moat
#

=

#

11

#

😅