Tilted Forum Project Discussion Community  

Go Back   Tilted Forum Project Discussion Community > Interests > Tilted Technology


 
 
LinkBack Thread Tools
Old 02-03-2009, 03:36 PM   #1 (permalink)
Crazy
 
Testing a server

Hello,

Hope everyone is doing well.

I recently built a CentOS 5.2 webserver on a Dell Poweredge machine -- Pentium III with 512 MB ram. It's going to be serving pages through a 1 MB uplink on a static IP from a business ISP connection. My question is -- what sort of load can I expect this server to handle? Right now the load is predicted to be very light -- maybe 4 or 5 users accessing 2 web applications that talk to mysql. Very basic stuff. But now I've got a need for a more dynamic website (Drupal-based) that I'm debating: Do I throw it up on that same webserver or do I get an online hosting solution? Seems a shame since we're already paying so much for the business connection but I'm worried about it being able to serve. This new site would have maybe 100 or so people intermittently visiting it, and it would serve mostly dynamically generated pages and photos.

What do you think? Is there a way to determine this or to test the server to see its load?

Thank you.
TheProf is offline  
Old 02-03-2009, 06:19 PM   #2 (permalink)
Darth Papa
 
ratbastid's Avatar
 
Location: Yonder
Are you sure the 1mb is the actual uplink speed? A lot of times they sell you a connection based on its speed DOWN, and the upstream is MUCH less.

That said, if it really is 1mb/s, your server ought to do fine for 100 visitors. Drupal isn't a lightweight, but I think the network throughput will be your bottleneck, and it'll depend a lot on the composition of your payload. Three people simultaneously downloading scanned architectural blueprints will squash it real fast. But a few people round-robbining smallish dynamic web pages at once shouldn't be a problem.
ratbastid is offline  
Old 02-03-2009, 06:24 PM   #3 (permalink)
Crazy
 
Hello,

Quote:
Originally Posted by ratbastid View Post
Are you sure the 1mb is the actual uplink speed? A lot of times they sell you a connection based on its speed DOWN, and the upstream is MUCH less.
Since this is a business connection, its speeds are higher. It's actually suppose to be 8 mb down, 1 mb up. I know the reality will be much less but still...

Quote:
Originally Posted by ratbastid View Post
That said, if it really is 1mb/s, your server ought to do fine for 100 visitors. Drupal isn't a lightweight, but I think the network throughput will be your bottleneck, and it'll depend a lot on the composition of your payload. Three people simultaneously downloading scanned architectural blueprints will squash it real fast. But a few people round-robbining smallish dynamic web pages at once shouldn't be a problem.
This is very good news! Drupal specifically can be fine-tuned to make it faster with caching, and optimization to some degree, but I was worried that the server / pipe was going to be the limiting factor. I was going to also use it as a mail server, but I realized I had another P3/4 machine lying around that I could use for that to help alleviate some of the load from the webserver. Does that make sense?
TheProf is offline  
Old 02-03-2009, 06:51 PM   #4 (permalink)
Darth Papa
 
ratbastid's Avatar
 
Location: Yonder
If that Poweredge is reasonably well spec'ed, I wouldn't worry about running web and email off it at the same time. The metal's not going to be the limiting factor.

Bear in mind, one great big email attachment will gum up your pipe for as long as it takes to get through. Of course, that'll mostly be coming the 8mb/s direction, which helps. I predict that with more than 10 or so simultaneous users, this thing will get noticeably slow. But that's still PLENTY of accessibility for a total web audience of 100. Probably no more than a couple will hit it at a time, right?
ratbastid is offline  
Old 02-04-2009, 07:29 PM   #5 (permalink)
Crazy
 
Quote:
Originally Posted by ratbastid View Post
If that Poweredge is reasonably well spec'ed, I wouldn't worry about running web and email off it at the same time. The metal's not going to be the limiting factor.
Well this is good news. I was doing some research and found there is a program with Apache called ab for benchmarking that returned some (I think) good results. It was able to handle 972 requests per second (static pages I know) and served 98% of those requests within 8 ms. The command was 'ab -kc 5 -t 30 http://localhost/'

Quote:
Originally Posted by ratbastid View Post
Bear in mind, one great big email attachment will gum up your pipe for as long as it takes to get through. Of course, that'll mostly be coming the 8mb/s direction, which helps. I predict that with more than 10 or so simultaneous users, this thing will get noticeably slow. But that's still PLENTY of accessibility for a total web audience of 100. Probably no more than a couple will hit it at a time, right?
I don't think we're going to get more than 30 people INTENSIVELY using the site at any one time, and intermittently.

I wanted to ask another question please -- I set up that second P4 to be the email server, with spamassassin, clamav, postfix, mailman and dovecot to handle all the email. The major load will be outgoing with a mailing list of about 2000 people. In terms of email incoming, only maybe 15 email addresses will exist for the domain. I wanted to use a webmail system (like squirrelmail) for the email. The question becomes -- can I use the webserver to serve the actual webmail application, but it pulls the email users and messages from that second p4 email server? Or do I have to run the email web application on the same server that has the MTA? Sorry if this is a basic question -- I'm aiming for what I think is a best setup (webserving on one machine, email handling on another) but I don't know if that's too weird.

Thank you
TheProf is offline  
Old 02-04-2009, 08:50 PM   #6 (permalink)
Darth Papa
 
ratbastid's Avatar
 
Location: Yonder
I'm not familiar wtih squirrelmail, but I know there are webmail applications that are web-facing POP or IMAP clients that can hit remote mail servers. Should be very possible to serve the webmail on the non-mailserver.
ratbastid is offline  
Old 02-04-2009, 10:57 PM   #7 (permalink)
Crazy
 
Location: whOregon
squirrel mail can be setup to run on another machine and serve mail off of another box. SM calls through imap.
Anexkahn is offline  
 

Tags
server, testing


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 04:24 PM.

Tilted Forum Project

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47