Mobile app version of vmapp.org
Login or Join
Kimberly868

: Does Image Hosting affects CPU usage on webservers? I am working on an android app in which i am including an image gallery. The images will be stored on Webserver and will be accessible by

@Kimberly868

Posted in: #ImageHosting #Webserver

I am working on an android app in which i am including an image gallery. The images will be stored on Webserver and will be accessible by app.
I want to know that if I only store images on webserver and 1 webpage. Will the Hotlinking of images from server in my app, affect CPU usage on webservers?
Any help will be appreciated.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Kimberly868

2 Comments

Sorted by latest first Latest Oldest Best

 

@BetL925

Because images are typically static they often don't strain resources the same way that dynamic pages do. Dynamic pages typically put strain on:


The CPU
The Database


Images typically strain


Number of simultaneous requests
Disk IO
Bandwidth


It is likely that you can serve a fair number of image requests from your server without bogging it down.

If the images are making your server slow, the typical way to deal with them is to


Optimize them with image shrinking programs
Serve images that are the correct size to display in the browser rather serving large ones that are scaled down at the user end
Combine many images into one (spriting)
Move them to a content delivery network (CDN)


See Yahoo's guide for speeding up your website which has good explanations on all of those items.

10% popularity Vote Up Vote Down


 

@Nimeshi995

The host that is serving the image will consume resources every time that image is accessed, so for example:

App.com has HTML page
image.com has the images, every time that app.com is accessed resources are used on app.com to serve the HTML and image.com server will consume resources serving the images. So, yes CPU/RAM is used.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme