Docs | imagemash.io
DashboardSign up for Free
  • 🎉imagemash.io
  • 🚀Getting Started
    • Simple CDN Link Usage
  • 💽Sources
    • IM Cloud Storage
    • Image URL
    • Storage Providers
      • Amazon S3
      • Google Cloud
      • S3 Compatible Storage
    • Web Folder
  • 🖼️Image Transform
    • Transform Options
      • Quality
      • Width
      • Height
      • Scale
      • Crop
      • Gravity
      • Background
      • Border
      • Round
      • Output Format
      • Angle (Rotate)
      • Flip
      • Helpers
        • x, y
      • Filters
        • Tint
        • Flatten
        • Grayscale
        • Blur
        • Sharpen
        • Median
        • Threshold
        • Negative
    • Transform Cheat Sheet
    • Named Transforms
  • 🛠️API
    • API - Good to knows
    • API Methods
      • Account
        • Named Transforms
          • Get named transforms
          • Add named transform
          • Remove named transform
        • Image URL Restriction
          • Get keyword list
          • Add keyword to list
          • Remove keyword from list
          • Change keyword list usage
      • Storage
        • Upload file
        • Get and search files
        • Delete files
        • Add new tags to files
        • Set tags of files
        • Remove tags from files
        • Purge Cache
      • Optimize / Transform
  • ❓How it works?
    • Custom Domain
    • Bandwidth
    • Cloud Storage
    • Caching
    • Purge Cache
    • Limits
  • Contact Us
Powered by GitBook
On this page
  • What is Bandwidth?
  • How does it work?
  • Bandwidth consume
  • How extra Bandwidth is priced?
  1. How it works?

Bandwidth

PreviousCustom DomainNextCloud Storage

Last updated 2 years ago

What is Bandwidth?

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.

Bandwidth usage will reset every 1st day of the month.

How does it work?

Let's understand how we calculate our Bandwith by giving examples in flow.

  1. Assuming you have created your Delivery CDN Link. Let's call it john.imagemash.io

  2. 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

  3. 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.

  4. john.imagemash.io/w_200/logo.png now an optimized image that has a file size of 50 Kb

  5. You put this link in your app to serve the content.

  6. 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.

  7. 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.

  8. 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.

Check for a better understanding of how caching works.

Bandwidth consume

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.

How extra Bandwidth is priced?

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:

  1. Let's say your package has a bandwidth limit of 60GB and 7$/20GB Extra Bandwidth (which is equal to 0.35$/1GB)

  2. 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.

❓
Caching