Results 1 to 9 of 9
  1. #1
    Join Date
    Jul 2008
    Posts
    269

    opinions on "VPS for Images"

    Hello has an adult site and need to host the images on a server, I thought of a VPS.

    I would like your help to choose a good setting for VPS and what technology to use?

    apache or nginx or varnish or ubuntu or centos or freebsd oe debian.

    Thanks to everyone who can help.

  2. #2
    Join Date
    Mar 2005
    Location
    Labrador, Canada
    Posts
    951
    How about a minimal Debian install plus thttpd (a tiny, low-memory HTTP server that excels at static content). Do it on a Xen, KVM or VMWare VPS (not OpenVZ) with as much memory as you can afford. The excess, unused memory will be used for file caching. Just a thought

  3. #3
    Depends how many requests / second and also the size of the images, and the amount of ram / type of virtualization.

    If you've got say, <1gb of images, then Xen can be a great option because it allows for real disk caching with your extra memory. So long as you have enough free ram to hold all your images, they'll automatically sit in ram and not have to load up the disks. In this case, it should handle any number of requests / second.

    If you have a lot more images than what will fit in ram, you need to make sure the disk i/o isn't going to overload what the VPS provider is willing to give you. A typical VPS server with 4 SATA disks in raid 10 can do maybe 600 read requests / second, so if you're one of, say, 30 users on that system, your "fair share" is 20 requests / second in that situation. Maybe you could do 40 or 50, but more than that would be pushing it without checking with the host first about what they allow. If you're not doing very many requests / second, then it should be fine either way.
    Phoenix Dedicated Servers -- IOFLOOD.com
    Email: sales [at] ioflood.com
    Skype: iofloodsales
    Backup Storage VPS -- 1TBVPS.com

  4. #4
    Join Date
    Jul 2009
    Location
    Tangerang, ID
    Posts
    123
    nginx can be good for static content like image, also consider to use vps with high disk i/o priority, because you will serve a lot of adult image request

  5. #5
    Join Date
    Jan 2011
    Location
    Varna, Bulgaria
    Posts
    1,270
    No matter what VPS or dedicated you choose, your performance will very much depend on how smart the programmer who wrote the scripts is. I have seen an example of about a million images put in a single directory... and then they wondered why it is so sloooow... A lazy programmer can make any server look like crap.

  6. #6
    Join Date
    Mar 2005
    Location
    Labrador, Canada
    Posts
    951
    Quote Originally Posted by funkywizard View Post
    Depends how many requests / second and also the size of the images, and the amount of ram / type of virtualization.

    If you've got say, <1gb of images, then Xen can be a great option because it allows for real disk caching with your extra memory. So long as you have enough free ram to hold all your images, they'll automatically sit in ram and not have to load up the disks. In this case, it should handle any number of requests / second.

    If you have a lot more images than what will fit in ram, you need to make sure the disk i/o isn't going to overload what the VPS provider is willing to give you. A typical VPS server with 4 SATA disks in raid 10 can do maybe 600 read requests / second, so if you're one of, say, 30 users on that system, your "fair share" is 20 requests / second in that situation. Maybe you could do 40 or 50, but more than that would be pushing it without checking with the host first about what they allow. If you're not doing very many requests / second, then it should be fine either way.
    I completely agree that a good disk infrastructure is a must. SAS, RAID 10 are things to look for.

    Even if the OP has more than 1 GB of images, then a ram cache of ~ 1 GB could still provide a huge saving on disk IO. Chances are, all images are not accessed with equal frequency. The most-frequently-accessed ones are more likely to be in the cache.
    Last edited by sleddog; 03-13-2011 at 02:43 PM. Reason: replace "disk cache" with "ram cache", d'oh!

  7. #7
    Join Date
    Jul 2008
    Posts
    269
    Do you recommend any company that has good vps for adult content that will serve me?

  8. #8
    Join Date
    Mar 2005
    Location
    Labrador, Canada
    Posts
    951
    Quote Originally Posted by chupaqueedeuva View Post
    Do you recommend any company that has good vps for adult content that will serve me?
    It's difficult for anyone to make recommendations until you provide more information, as the preceding posts have suggested:

    - How much storage do your images consume? 1GB? 10GB? 100GB?
    - How much traffic does the website get?
    - What is your monthly budget? $5? $25? $100?

    I'm gonna bow out of this discussion as I know nothing about adult hosting. Didn't even know such a thing existed until now!

  9. #9
    Join Date
    Oct 2008
    Posts
    533
    As far as webservers go for static image content, I'd pick Nginx. Its stable and handles concurrent connections really well. Varnish with apache would probably work just as well too, but I've not tested it enough to compare resource usage yet.


    Tuxlite.com Complete LAMP and LNMP script for Debian and Ubuntu.

Similar Threads

  1. Can a "root server" actually be a "masked" VPS ?
    By GlobalWebGate in forum Running a Web Hosting Business
    Replies: 5
    Last Post: 02-21-2010, 04:44 AM
  2. How efficient are topic titles like "BLOWOUT", "SPECIAL" and "KILLER OFFER"?
    By BluewaveHosted in forum Running a Web Hosting Business
    Replies: 18
    Last Post: 06-30-2009, 11:21 AM
  3. Replies: 39
    Last Post: 02-22-2008, 03:22 AM
  4. "Websitesource" & "Apollo" - Opinions
    By Lab Man in forum Web Hosting
    Replies: 3
    Last Post: 12-18-2004, 07:21 PM
  5. [Needed] Graphic artist to make "icon like" images...
    By Theater in forum Design Offers
    Replies: 1
    Last Post: 11-24-2003, 09:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •