Bandwidth
Last updated
Last updated
Apart from its general meaning in IT/software sector, every business defines its own Bandwidth.
We define ours basically; Bandwidth is the total file size of contents successfully delivered via your CDN Link.
Let's understand how we calculate our Bandwith by giving examples in flow.
Assuming you have created your Delivery CDN Link. Let's call it john.imagemash.io
You uploaded an image or file to your Imagemash Cloud Storage or you preferred to use an external source. Assuming your original file size is 5 Mb
. Your original file size is not relevant to Bandwidth. It does not count toward your bandwidth usage in any way. Let's call this file logo.png
john.imagemash.io/logo.png
now a compressed & optimized image. Send to 200+ cache servers around the world for fast access. Any further transformations will also be sent to cache servers.
john.imagemash.io/w_200/logo.png
now an optimized image that has a file size of 50 Kb
You put this link in your app to serve the content.
Viewer_1
navigated to your app page and saw this image. Your bandwidth will increase by 50 Kb
. Your whole total Bandwidth is 50 Kb
up to this stage.
Now the file is successfully delivered. While delivering the image, imagemash.io speaks with the viewer's browser and tells it to store(cache) this file within in its local storage.
When the next time Viewer_1
visits your page, if the image loads from the browser's cache, your bandwidth won't increase. Else, the image will be delivered to your visitor by cache servers and your bandwidth will increase.
Assuming you understood the above example, your bandwidth usage will increase by doing 2 things.
Serving files through your CDN Link
Optimizing / Transforming images through API or Web Panel. While optimizing an image via API or Web Panel your bandwidth usage increase by last optimized size of your image. If we use above example, when you optimize some of your local image which is 5Mb, after optimize your image became 50Kb, your bandwidth usage will increase by 50Kb.
For Free Tier: When you exceed your Bandwidth, your delivery link will no longer serve files to the end user. You may continue using the service when your bandwidth resets. When you exceed your Cloud Storage, you cannot upload more files to your storage. For Paid Tier: When you exceed your Bandwidth, each GB of extra usage is multiplied by your package's "Extra Bandwidth" price and this will be included in your next bill. This situation won't change the future price of your package. Every month is calculated separately so you will be charged as you use/grow for each month (no minimum commitment needed). Basically, your bandwidth usage will reset in every cycle and you start over.
For Example:
Let's say your package has a bandwidth limit of 60GB and 7$/20GB Extra Bandwidth (which is equal to 0.35$/1GB)
You have used 85GB this month. There is 25GB of extra usage. So 25GB x 0.35$ = 8.75$ will be extra charged for this month.
The same principles apply to Cloud Storage usage. However, Cloud Storage usage won't reset monthly like bandwidth.