Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to build an image web server?

Tags:

image

I am trying to build an web image server. It serves images to lots of clients(10 thousands+) simultaneously. (It will be a easier problem if there is fewer clients.) What is a good way to do so, with time delay as small as possible.

I am new to this field. Any suggestion will be welcomed.

like image 435
Lily Avatar asked Jun 09 '09 21:06

Lily


People also ask

How do I host an image on a web server?

Check the image size: Some hosting services don't allow files over a certain size. Upload using an FTP program or image hosting service. Use your web server's hyperlink function to link your URL. Alternatively, link to the image using the page's HTML code.

What is image web server?

An image server is web server software which specializes in delivering (and often modifying) images. However, not all image servers support HTTP or can be used on web sites.


1 Answers

Definitely look around for a good delivery service. Akamai is the best known.

if you really want to do it on your own, forget about Apache/IIS. much more appropriate are 'light' webservers. Two very good are lighthttp and NginX (wiki). NginX in particular, has a really solid performance.

Edit: Content Distribution Networks (CDNs) have flourished in the last few years, and it's much easier to find easier and cheaper ones. In particular, it's quite simple to put your static content in Amazon's S3 and use CloudFront.

like image 144
Javier Avatar answered Sep 23 '22 17:09

Javier