![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Jan 2002
Location: AZ
Posts: 6,251
|
Need advice on server setup hosting mp4s
I have 4 cheap identical servers at ovh, all 4 currently have same data on them and i'm using round robin dns to serve mp4s. Each one is capped at 500mbs and I'm using average of 400mbs on each. My problem is I'm running out of hard drive space.
What would be the best solution? Turn the 4 mirrored servers into 2 sets mirrored servers each set with half the data? Then change half of the video urls in my script to the new url for the new server set. The reason I would split the videos now is because of bandwidth limits on each server. Or is there something else I can do with nfs shares and not have to change any urls in my tube script? Keep half the videos on each set of 2 servers but link them with nfs shares and not have to change any urls. And I need to utilize the 500mbs bandwidth on each server. Which would be a better solution or is there something else I can do? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Making PHP work
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,226
|
Hmmmm,
Dropping 3 servers and using a CDN service for all videos and images might be an option. https://www.akamai.com/us/en/cdn/ ![]()
__________________
Make Money with Porn |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Jan 2002
Location: AZ
Posts: 6,251
|
I'm currently paying about 320 per month and using close to 2gbs bw, I think cdn would be considerbly more expensive.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Confirmed User
Industry Role:
Join Date: Jul 2017
Location: Worldwide
Posts: 37
|
Quote:
If you are looking for anything but Europe or North America it will be very expensive, but since you use OVH I suppose you don't. I am not sure if the solution you propose won't turn into a nightmare from management perspective, especially when you need to scale. Also, as you've probably already found, some videos are more popular than other and you could easily be running out of bandwidth on one server while another sits there doing almost nothing. Round robin is only so good. If you don't go the CDN route, is it possible to get two bigger servers than these 4 (In terms of storage and bandwidth)? It would probably buy you some time to think of a long-term solution and would cost roughly the same what you are paying now.
__________________
PUSHR CDN - High-performance content delivery network for fast growing projects Skype: Victor_NetStack |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Bye - Left to do stuff
Industry Role:
Join Date: Feb 2013
Posts: 4,109
|
Easy way:
Split it up with two set of servers, and use nginx to loadbalance the content https://www.digitalocean.com/communi...load-balancing Cool way: Software-defined-storage. Scale out the servers, to keep datasets spred out |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Industry Role:
Join Date: Aug 2015
Posts: 1,017
|
Honestly I think you should be looking at a cdn...mojohost and holacdn are good.
If you really want to use your own servers you should get an origin server service (like s3) and then set up nginx proxy caching on your bare metal servers. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Industry Role:
Join Date: Apr 2004
Posts: 5,717
|
sure, but the price might be an issue as CDN is still quite expensice for free tubes. OP says he has 2Gbps BW available, uses 1600Mbps which is about 520TB/month, and pays $320/month. even with a cheap CDN, that BW would cost him several thousand.
__________________
--- |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Videochat Solutions
Industry Role:
Join Date: Aug 2004
Location: Canada
Posts: 48,514
|
Quote:
__________________
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |