
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
- Database Migration/Sync Between Two Proj...
Overall The migration failed mainly due to conflicts with existing data (documents, attributes, collections, etc.), exceeding attribute limits, and unsupported ...
- Relationship Attribute Deletion Causes D...
I'm experiencing a critical bug with Appwrite CLI that causes complete data loss when making minor schema changes to relationship attributes. What I Tried To D...
- Help on importing data - error Unknown a...
Hey There! I want to create a local environment on my new computer, i wish to get the information i have on my staging appwrite cloud server. When running mig...
