Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


VPS setup for image serving
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

VPS setup for image serving

Hello,

Going to buy time4vps storage server for static images, and what to ask what setup is best for fast image serving?

Images will be in static.domain.com sub-domain and will be uploaded with FTP.

Comments

  • varnish

  • nginx or lighttpd? (I prefer lighttpd)

  • Or just skip it and use an Object Store eg http://www.delimiter.com/landingpage/objspace/

    Then you just have to upload your images and all the serving is handled for you.

    Time4VPS Storage servers have crippled IOPS/performance which makes them unsuitable for anything other cold backups.

  • @MarkTurner said:
    Or just skip it and use an Object Store eg http://www.delimiter.com/landingpage/objspace/

    Then you just have to upload your images and all the serving is handled for you.

    Time4VPS Storage servers have crippled IOPS/performance which makes them unsuitable for anything other cold backups.

    We have 4 TB Bandwidth, so Object Store don't really cost that cheap.

  • kenkelis said: We have 4 TB Bandwidth, so Object Store don't really cost that cheap.

    Calculate the IOPS vs included data transfer. A storage VPS is designed for storage, not for running active services.

    You're performance is going to be horrendous.

    Thanked by 1nowprovision
  • @kenkelis said:
    Hello,

    Going to buy time4vps storage server for static images, and what to ask what setup is best for fast image serving?

    Images will be in static.domain.com sub-domain and will be uploaded with FTP.

    what will be storage and bandwidth need for your VPS

  • I've been using http://www.fefe.de/gatling/ for static content recently. Stupidly low overhead.

    Thanked by 2ehab vpsguy
  • nowprovisionnowprovision Member
    edited January 2016

    @MarkTurner said:

    You don't mention redundancy on your object storage, 'Amazon S3 is designed to sustain the concurrent loss of data in two facilities'. Whats delimiters story on object storage durability?

  • nowprovision said: You don't mention redundancy on your object storage, 'Amazon S3 is designed to sustain the concurrent loss of data in two facilities'. Whats delimiters story on object storage durability?

    Triple replication in the same facility, distinct by rack zone (ie not in the same row) / network / power

  • Object storage is not cheap if you have cheap, big enough storage server.
    I considered using b2 storage and delimiter but dedibox was cheaper. (4TB :: $20/m )
    Currently using nginx w no issues.

  • Hiawatha

    Thanked by 1k0nsl
  • jvnadrjvnadr Member
    edited January 2016

    What will the traffic of your storage servers be? Some dozens of image recalls per hour or thousands per minute? If this is a low traffic site, then, probably time4vps storage plans will fit your needs. If there is actual traffic, then, a cheap storage server with limited IOPS not only will lead to an unusable service, but probably also to a suspended service from the provider (have to mention that their storage server use raid6, so, if used to a high traffic live site, the performance will suffer even more). And by calling that the traffic will be ~4TB, then, you are talking for a high traffic site.

    You haven't told us what capacity you want. 500GB? 1TB? 2TB? Best solution is to grab a cheap server ~20$ (there are a lot of options with dual 1TB HDD), setup varnish and use time4vps storage for backing up your images, if you need an online backup (and you should need it).

    MarkTurner said: Or just skip it and use an Object Store

    Equal bandwidth for storage is a terrible equalization. 500GB storage with 500GB bandwidth means that the first month all you can do is upload your files without traffic at all. Yes, it is cheaper than amazon glacier or google's services, but again, it is not cheap at all...

  • linuxthefishlinuxthefish Member
    edited January 2016

    Lighttpd with http://redmine.lighttpd.net/projects/1/wiki/Docs_ModMemCache

    Set local cache expiry headers also. If you want to go all out don't use lighttpd caching, but use something like Squid or Varnish as a front end.

  • kenkeliskenkelis Member
    edited January 2016

    @simonindia said:
    what will be storage and bandwidth need for your VPS

    Product images in 4 sizes

    @jvnadr said:
    What will the traffic of your storage servers be? Some dozens of image recalls per hour or thousands per minute? If this is a low traffic site, then, probably time4vps storage plans will fit your needs. If there is actual traffic, then, a cheap storage server with limited IOPS not only will lead to an unusable service, but probably also to a suspended service from the provider (have to mention that their storage server use raid6, so, if used to a high traffic live site, the performance will suffer even more). And by calling that the traffic will be ~4TB, then, you are talking for a high traffic site.

    E-com site, with 7000 users per day

    @jvnadr said:
    You haven't told us what capacity you want. 500GB? 1TB? 2TB? Best solution is to grab a cheap server ~20$ (there are a lot of options with dual 1TB HDD), setup varnish and use time4vps storage for backing up your images, if you need an online backup (and you should need it).

    Now we use 55Gb for images

    We have OVH server right now, but I want to migrate images to different server, coz price is going up every months for storage.

  • If you just use 55GB I think you're better off with something else - you don't need that much storage as Time4VPS offers and you will have better IOPS.

  • @Traffic said:
    If you just use 55GB I think you're better off with something else - you don't need that much storage as Time4VPS offers and you will have better IOPS.

    Looking at CDN's for images right now.

  • hostnoobhostnoob Member
    edited January 2016

    How many hits per second? Honestly you should be fine with just lighttpd or nginx.

    And like @traffic says you might be better off with someone who provides less storage space but uses SSDs

  • Delimiter kvm vps comes with 250 Gigs of fast storage. The dedicated core should be enough for the site, if optimized properly. Try to pm @mikeyur, he will reply, hopefully.

  • @jvnadr said:
    Equal bandwidth for storage is a terrible equalization. 500GB storage with 500GB bandwidth means that the first month all you can do is upload your files without traffic at all. Yes, it is cheaper than amazon glacier or google's services, but again, it is not cheap at all...

    Missed this message the other day. I agree that the equal bandwidth to storage is a bit whacky. I'll be reworking the plans and apply the traffic boosts to old plans retroactively when we do. Also: inbound is completely free, so you wouldn't use up all the bandwidth by filling it.

    @Junkless said:
    Delimiter kvm vps comes with 250 Gigs of fast storage. The dedicated core should be enough for the site, if optimized properly. Try to pm mikeyur, he will reply, hopefully.

    Appreciate the mention, but I think OP said they needed 4TB bandwidth. I'm re-working the plans and will be balancing them out a bit more as we start thinking about additional locations.

    Thanked by 1Junkless
Sign In or Register to comment.