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 07:48 PM.

Tilted Forum Project

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, 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 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360