|
|
|
||||
|
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
Join Date: Oct 2003
Location: Atlanta
Posts: 2,840
|
I'm currently developing a highend site in which will have a huge user database. So far i've purchased ...
Intel Dual Xeon 2.0 GHz Packages 1 GB RAM - (2) 73GB Hard Drives 10 Mbps unlimited Monthly Transfer this will be used as my main Fileserver/Frontend machine and then i was thinking about getting a ... Intel Celeron 2.0 GHz Packages 1 GB RAM - (2) 80GB Hard Drives 1000 GB Monthly Transfer server to do just handle the mysql database. since it's just going to be database request I don't think it'll need more than 1000GB or will it? my project is going to be a highend photo database site my coder is designing it so that the database will only handle user info and small amounts of data. Do i need a more powerful server for the database. |
|
|
|
|
|
#2 |
|
Confirmed User
Join Date: Aug 2003
Location: Netherlands
Posts: 2,190
|
Dude, you've got it all wrong
Static pages (since you're going to host the mysql database on another machine, i assume the frontent machine will only be used for static content) can be served at 10mbps from a simple celeron machine. Lots of database queries on the other hand could use a Dual Xeon to speed things up a lot. A celeron will start lagging as soon as you're going to send alot of queries to the mysqld. My opinion: Either do it the other way around (Dual Xeon for db, Celly for static), or buy another Dual Xeon. Some extra firepower at the front won't hurt either. |
|
|
|
|
|
#3 |
|
Confirmed User
Join Date: Mar 2004
Posts: 2,047
|
Make sure you have alot of ram on the mysql server.
|
|
|
|
|
|
#4 | |
|
Confirmed User
Join Date: Oct 2003
Location: Atlanta
Posts: 2,840
|
Quote:
|
|
|
|
|
|
|
#5 | |
|
Confirmed User
Join Date: Aug 2001
Location: IN
Posts: 2,283
|
Quote:
What he said.
__________________
Dynamic Hosting |
|
|
|
|
|
|
#6 | |
|
Confirmed User
Join Date: Oct 2003
Location: Atlanta
Posts: 2,840
|
Quote:
the database will retrieve directory and profile info one users but php scripts will be in each folder to generate the photo display instead of having the database store every photo name and location. of course i'll be expanding as the site grows but i want to make sure i'm doing everything correctly |
|
|
|
|
|
|
#7 | |
|
Confirmed User
Join Date: Aug 2003
Location: Netherlands
Posts: 2,190
|
Quote:
|
|
|
|
|
|
|
#8 | |
|
Confirmed User
Join Date: Aug 2003
Location: Netherlands
Posts: 2,190
|
Quote:
|
|
|
|
|
|
|
#9 |
|
Confirmed User
Join Date: Mar 2002
Location: NY
Posts: 4,994
|
1000GB for MySQL traffic is pure overkill. Thats around 3Mbps, unless you are storing tons of data, and I mean so much data that it doesnt even make sense to store it in MySQL anymore, you wont be hitting anywhere near that traffic.
A site getting 1-2 million hits a day, with each hit generating SQL traffic does about 1 Mbps. That's mostly hahahahahas of course, but even with mostly read traffic for you, unless you already have a ton of traffic for this project, you wont be hitting anywhere near that. As for server setup, cgi takes cpu, mysql takes cpu, html, static, images, take no cpu. You can run 50Mbps of static traffic easily from 1 gig of ram. Definitely allocate the more powerful server for cgi/mysql work. And use the Celeron if you get it for loading images, although again, unless you are already working with a lot of traffic its overkill. If you have any other questions hit me up on icq at 36837470 I'll be glad to help you out in any way I can. |
|
|
|
|
|
#10 | |
|
Confirmed User
Join Date: Mar 2002
Location: NY
Posts: 4,994
|
Quote:
|
|
|
|
|
|
|
#11 | |
|
Confirmed User
Join Date: Aug 2003
Location: Netherlands
Posts: 2,190
|
Quote:
|
|
|
|
|
|
|
#12 | |
|
Confirmed User
Join Date: Apr 2003
Posts: 257
|
Quote:
|
|
|
|
|
|
|
#13 |
|
Confirmed User
Join Date: Mar 2002
Location: /etc/passwd :-)
Posts: 175
|
mysql means a lot o ram, 2GB of ram for mysql is basic configuration, the procesor can be even celeron 2.0
|
|
|
|
|
|
#14 |
|
Confirmed User
Join Date: Nov 2002
Location: Belgium
Posts: 7,383
|
1000 gig for the sql server is overkill. Just invest in a dual setup and 2 gigs of ram at least and drop the BW.
|
|
|
|
|
|
#15 |
|
Confirmed User
Industry Role:
Join Date: May 2001
Location: Australia
Posts: 934
|
You shouldn't need ANY bandwidth for the SQL server. It's just
LAN stuff, not really expensive to transfer data 2 feet. If the data had to cross the country for every query then of course you'd need bandwidth, but on the LAN... I don't see why any ISP should charge for LAN bandwidth..... btw make sure you lock down the SQL server to only accept connections from the web server. Also look into pre-generated static pages. There is no reason to run a million database queries per day if they can be done with five queries late at night. -Ben
__________________
Cyberwurx Hosting After trying 5 different hosts, I found the best. Since 1997 I've had 2 hours of downtime. Fast support, great techs, no hype, no gimmicks. <- I in no way endorse whatever just got stuck on the left of my post. |
|
|
|
|
|
#16 |
|
Confirmed User
Industry Role:
Join Date: May 2001
Location: Australia
Posts: 934
|
Also btw..... MySQL works.... it's great..... but technically it's under
featured for dealing with large amounts of data. Doesn't handle indexes and the important stuff in the same way true commercial database servers do. This is probably what people are talking about with needing a lot of RAM. -Ben
__________________
Cyberwurx Hosting After trying 5 different hosts, I found the best. Since 1997 I've had 2 hours of downtime. Fast support, great techs, no hype, no gimmicks. <- I in no way endorse whatever just got stuck on the left of my post. |
|
|
|
|
|
#17 |
|
Confirmed User
Join Date: Oct 2003
Location: Atlanta
Posts: 2,840
|
1000bw comes with the package =( guess i can use that for backup or something. I can increase the ram to 2.
pretty much all pages will be static, including the user albums which will probably update once since they'll be able to create multiple galleries |
|
|
|
|
|
#18 |
|
Confirmed User
Join Date: May 2003
Posts: 1,025
|
I would put the money into the extra RAM on the XEON use it for the mysql. Then use celeron for the static pages with 1GB RAM. Mysql is just more resource intensive than static pages.
|
|
|
|
|
|
#19 |
|
Confirmed User
Join Date: Nov 2003
Location: Penguin vs Devil
Posts: 745
|
Here is a good MySQL config file [ /etc/my.cnf ] for a 1GB ram machine. Note thread_concurrency should be 2 unless you have a Dual CPU machine.
[mysqld] skip-locking skip-innodb query_cache_limit = 1M query_cache_size = 32M query_cache_type = 1 max_connections = 500 interactive_timeout = 100 wait_timeout = 100 connect_timeout = 10 thread_cache_size = 80 key_buffer = 150M join_buffer = 1M max_allowed_packet = 16M table_cache = 512 record_buffer = 1M sort_buffer_size = 1M read_buffer_size = 1M read_rnd_buffer_size = 768K max_connect_errors = 10 thread_concurrency = 2 myisam_sort_buffer_size = 64M [safe_mysqld] open_files_limit = 8192 [mysqldump] quick max_allowed_packet = 16M [mysql] no-auto-rehash [isamchk] key_buffer = 64M sort_buffer = 64M read_buffer = 16M hahahahaha_buffer = 16M [myisamchk] key_buffer = 64M sort_buffer = 64M read_buffer = 16M hahahahaha_buffer = 16M [mysqlhotcopy] interactive-timeout
__________________
"Only the dead have seen the end of war." - Plato "In the abscence of orders, go find something and kill it." - Erwin Rommel "A man's worth is no greater then the worth of his ambitions." - Marcus Aurelius |
|
|
|
|
|
#20 |
|
Confirmed User
Join Date: Oct 2003
Location: Atlanta
Posts: 2,840
|
what does the hahaha, damn filters
|
|
|
|