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 02-10-2013, 05:01 AM   #1
mamaliga
la gente está muy loca
 
mamaliga's Avatar
 
Industry Role:
Join Date: Mar 2011
Location: 1Gbps
Posts: 1,322
tube server configuration

Planning to open a tube next month but before this would like to know what server configuration fit my needs.
It will be a medium size tube site with not more than 300 simultaneously members online and for the first month plan to add around 1000 videos average between 100-600 MB each.
Will be enough only one strong server for me or should i start at the begining with 2 not-so-strong servers ? And why? Please explain.
Thinking about to use nginx and varnish cache
Please no spam offers (yet).
mamaliga is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-10-2013, 05:17 AM   #2
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
Quote:
Originally Posted by mamaliga View Post
Planning to open a tube next month but before this would like to know what server configuration fit my needs.
It will be a medium size tube site with not more than 300 simultaneously members online and for the first month plan to add around 1000 videos average between 100-600 MB each.
Will be enough only one strong server for me or should i start at the begining with 2 not-so-strong servers ? And why? Please explain.
Thinking about to use nginx and varnish cache
Please no spam offers (yet).
300 users online at once is probably going to require quite a powerful server. If you can turn on that traffic like a faucet, then build your server with alot of ram and a focus on disk i/o. That being said, i'd look into CDN's and a host with a cloud storage (ie. reflected) to house the data. Then you don't need to worry about scaling...
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-10-2013, 07:36 AM   #3
mamaliga
la gente está muy loca
 
mamaliga's Avatar
 
Industry Role:
Join Date: Mar 2011
Location: 1Gbps
Posts: 1,322
thank you konr4ad
So basicaly i will need like 100 T hdd (just in case), 32/64 gb ram splitting like this:
Server number one
nginx,mysql and varniche cache
place where my tube script running
CDN for thumbs

Server number two
where i host the videos
(nginx or apache?)

Quote:
Originally Posted by k0nr4d View Post
Then you don't need to worry about scaling...
This was exactly i was worry about including making backups. How can i backup these amount of data?
mamaliga is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-10-2013, 07:50 AM   #4
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
You'd use something like R1Soft and backup to their servers. Again though, this is where something like a cloud storage comes in handy since they handle all the redundancy and scaling for disk i/o and bandwidth.

If it was a client running our script, and wanted to use two servers I would recommend:

Server 1 (Web server):
- Apache (or nginx)
- Mysql
- Hosts Script

Server 2 (Media Server):
- Nginx or Lighttpd
- Hosts thumbs and Videos

then when traffic and disk i/o increases (since it's typically not an IMMEDIATE thing), i'd use Server 2 as an Origin for the CDN until I start running into issues with drive space, and then i'd start looking into cloud storage. You could of course just skip right ahead to cloud storage and cdn's and stuff but may as well keep costs down at the start.
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-10-2013, 09:25 AM   #5
AndrewX
Confirmed User
 
AndrewX's Avatar
 
Industry Role:
Join Date: Jan 2004
Posts: 574
Quote:
Originally Posted by mamaliga View Post
This was exactly i was worry about including making backups. How can i backup these amount of data?
You could rsync or ftp the directories or drive(s) without gzip compression. Don't even tar them if you're short on diskspace.
__________________

█ ► XenLayer - Paravirtualization Professionals since 2008 - [ICQ: 297820698]
█ ► Reseller Hosting | OpenVZ VPS | XEN VPS | Dedicated Servers

Last edited by AndrewX; 02-10-2013 at 09:27 AM..
AndrewX is offline   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



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.