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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 07-30-2017, 02:54 AM   #1
abshard
Confirmed User
 
Industry Role:
Join Date: Jan 2002
Location: AZ
Posts: 5,431
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?
abshard is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-30-2017, 05:39 AM   #2
blackmonsters
Yo Mamma!
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 19,925
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/

__________________
Camsoda pays :
Become a Cam Model or Sign up as a Webmaster
blackmonsters is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-30-2017, 06:01 AM   #3
abshard
Confirmed User
 
Industry Role:
Join Date: Jan 2002
Location: AZ
Posts: 5,431
I'm currently paying about 320 per month and using close to 2gbs bw, I think cdn would be considerbly more expensive.
abshard is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-30-2017, 06:28 AM   #4
VRR
Confirmed User
 
VRR's Avatar
 
Industry Role:
Join Date: Jul 2017
Location: Worldwide
Posts: 37
Quote:
Originally Posted by abshard View Post
I'm currently paying about 320 per month and using close to 2gbs bw, I think cdn would be considerbly more expensive.
Not necessarily. It boils down to which regions you want the CDN to serve and who you go with.
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
VRR is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-30-2017, 07:56 AM   #5
Ferus
Bye - Left to do stuff
 
Industry Role:
Join Date: Feb 2013
Posts: 4,110
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
Ferus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-30-2017, 09:22 PM   #6
wankawonk
Confirmed User
 
Industry Role:
Join Date: Aug 2015
Posts: 999
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.
wankawonk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2017, 02:49 PM   #7
3xmedia
Confirmed User
 
3xmedia's Avatar
 
Industry Role:
Join Date: Apr 2004
Posts: 5,696
Quote:
Originally Posted by wankawonk View Post
Honestly I think you should be looking at a cdn...mojohost and holacdn are good.
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.
__________________
---
3xmedia is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2017, 03:10 PM   #8
2MuchMark
Videochat Solutions
 
2MuchMark's Avatar
 
Industry Role:
Join Date: Aug 2004
Location: Canada
Posts: 45,799
Quote:
Originally Posted by abshard View Post
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?
Have you asked OVH?
__________________

VideoChat Solutions | Custom Software | IT Support
https://www.2much.net | https://www.lcntech.com
2MuchMark is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
servers, server, half, change, urls, set, mirrored, solution, nfs, shares, videos, script, bandwidth, data, 500mbs, mp4s, limits, ovh, utilize, setup, advice, tube, hosting, link, identical



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.