
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

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.

Alright, thank you @joeyouss. 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?

Same question here @joeyouss. If I read data from a function (either documents or images/files), will that count as bandwidth?

Yep, all inbound and outbound traffic

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?

Affirmative

Affirmative 11, or 1?

10+1

=

11

😅
Recommended threads
- Document Permissions ... User array vs T...
In my app, I will have multiple users who need read accesss a document, but ONLY them. Sometimes its 2 people and sometimes it will be 100 but sometimes 5000. ...
- Unable to get account or logout after a ...
I get the following error after a successful login when ever I call account.get() or account.deleteSession(sessionId: "current"). User (role: guests) missing sc...
- 502 gateway error on downloading files t...
Appwrite Cloud. App blocked can't demo to client. Potential loss of client and 10,000$ payment
