• 12

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191


File: /home/prodcxja/public_html/questions/application/views/question.php
Line: 191
Function: _error_handler

File: /home/prodcxja/public_html/questions/application/controllers/Questions.php
Line: 433
Function: view

File: /home/prodcxja/public_html/questions/index.php
Line: 315
Function: require_once

I have some larger files 20-30 MB of a shareware program. I'm having a webserver which should be enough for the 250 GB (abbout 1000 downloads/mont) of download bandwidth and CPU power.

They are using "nginx" as the webserver for static downloads instead of apache for speed reasons.

Is there any advantage to getting a small VPS and serving the download files exclusively via lighttpd? Or is a 30MB file small enough for a usual webserver.

Amazon S3 will be cheaper than a proper CDN. However 250GB isn't really that much to be serving a month, so a VPS will probably be cheaper at those numbers(VPS ~ $20/month, S3 ~ $40).

You can calculate your S3 costs with this calculator.

But all that said, if you already have a webserver perhaps start with that. Ideally you should have access to graphs that monitor your bandwidth, web server processes, and other metrics to help decide when you need to outsource the file serving.

  • 2
Reply Report
      • 2
    • Hmmm data traffic is 10 times more expensive then what you get from a usual webhoster. I can get 15 Euro for each terabyte on a very very fast dedicated server (8GB, 8Cores i7-920, 2x750GB Disk) which adds unfortunately additional 50 Euro.

Trending Tags