topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday December 13, 2024, 2:02 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: DC loads fast. What is the secret.  (Read 16562 times)

alivingspirit

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 167
    • View Profile
    • Donate to Member
DC loads fast. What is the secret.
« on: November 20, 2008, 08:18 AM »
As a religious reader of DC forums I can't help but notice how fast the pages load compared to other websites. On my computer it sometimes loads faster than the Google homepage so I use it regularly when I want to check my internet connection. What is the secret to this speed? Why don't other websites know about it? Or am I just imagining things?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: DC loads fast. What is the secret.
« Reply #1 on: November 20, 2008, 08:26 AM »
The secret is a $279 a month dedicated server.  :huh:

And it needs to be pointed out that the only reason we can afford that is because of donations from ordinary people to support the site.


CWuestefeld

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,009
    • View Profile
    • Donate to Member
Re: DC loads fast. What is the secret.
« Reply #2 on: November 20, 2008, 08:44 AM »
How does DC avoid spam users?

I have a SMF forum that's been under attack for the past week, getting numerous user registrations that are clearly bogus. I've responded in a completely reactive fashion. Since my forum is only of local interest, and the bad guys are using IP blocks that ARIN says are European, I just ban IP ranges as they hit me. But this means I'm always playing catch-up.

I don't want to switch to the model where I have to approve each registration -- I think that interferes with getting new users participating.

Has anyone else experienced this? How did you deal with it?

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: DC loads fast. What is the secret.
« Reply #3 on: November 20, 2008, 08:54 AM »
As a religious reader of DC forums I can't help but notice how wonderful the people who participate are, compared to other websites. Why do we fail to attract nasty trolls and stupid idiots? Or am I just imagining things? :-*
- carpe noctem

mitzevo

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 462
  • Control is power
    • View Profile
    • Donate to Member
Re: DC loads fast. What is the secret.
« Reply #4 on: November 20, 2008, 08:57 AM »
Get a grip f0dder ;D
The clock is running. Make the most of today. Time waits for no man. Yesterday is history. Tomorrow is a mystery. Today is a gift. That's why it is called the present.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: DC loads fast. What is the secret.
« Reply #5 on: November 20, 2008, 08:59 AM »
well we do get about 1 spam post per day i think, but because we have such nice readers they always spot it and report it -- and then we have great moderators like jgpaiva and carol haynes and others who quickly delete the spam posts and ban the user.

mahesh2k

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,426
    • View Profile
    • Donate to Member
Re: DC loads fast. What is the secret.
« Reply #6 on: November 20, 2008, 09:08 AM »
BTW Which Company Hosts "DC" ? Is it possible to see the "Sever Pictures" of that Hosting company? :tellme:

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: DC loads fast. What is the secret.
« Reply #7 on: November 20, 2008, 09:11 AM »
we use SoftLayer for the main server.. they are not cheap, but they are good: http://www.softlayer.com/

History of DC servers:
  • DC started on a $10/month normal web hosting account in march 2005
  • Upgraded to $60/month vps at some point
  • Then upgraded to dedicated server after that (maybe in the $150 range?)
  • Last year after much anguish decided to spend the big bucks and go for a high quality dedicated server ($280 a month)




mitzevo

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 462
  • Control is power
    • View Profile
    • Donate to Member
Re: DC loads fast. What is the secret.
« Reply #8 on: November 20, 2008, 09:12 AM »
yeah that's true, trolls wouldn't even last a week.. and maybe the fact that DC doesn't get much of them signing up is because the main thing new people see is the "donation" part of DC, then all the calls to actions about signing up to the forum, donating, etc. and by that time they are thinkg wtf and are usually out [therefor not bothering to sign up, and make a post or 10]

that would pretty much turn away most trolls/trouble makers..

Plus I think because the website design is sorta old school .. lol

People who are into their software and coding usually reside at DC longterm because they appreciate it.
The clock is running. Make the most of today. Time waits for no man. Yesterday is history. Tomorrow is a mystery. Today is a gift. That's why it is called the present.

mahesh2k

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,426
    • View Profile
    • Donate to Member
Re: DC loads fast. What is the secret.
« Reply #9 on: November 20, 2008, 09:20 AM »
WOW  :o Look at their Dedicated Hosting custmization options,very few Hosts offer that. Ther datacenter must be most reputed in US,isnt it?


People who are into their software and coding usually reside at DC longterm because they appreciate it.

True

a_lunatic

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 71
  • Fulltime Single Dad
    • View Profile
    • Donate to Member
Re: DC loads fast. What is the secret.
« Reply #10 on: November 20, 2008, 10:06 AM »
Has anyone else experienced this? How did you deal with it?

Yes I have had the same & there is a post on the smf forums about it.
Tidal wave of spambots attacks SMF 1.1.x - How to protect your forum

alivingspirit

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 167
    • View Profile
    • Donate to Member
Re: DC loads fast. What is the secret.
« Reply #11 on: November 20, 2008, 10:45 AM »
The secret is a $279 a month dedicated server.  :huh:
And it needs to be pointed out that the only reason we can afford that is because of donations from ordinary people to support the site.
WOW! :o
Plus I think because the website design is sorta old school .. lol
You gotta love the old school, distraction free, and add free look. :Thmbsup:
Why do we fail to attract nasty trolls and stupid idiots?
Ha ha! Trolls. ;D

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: DC loads fast. What is the secret.
« Reply #12 on: November 20, 2008, 03:48 PM »
Why do we fail to attract nasty trolls and stupid idiots?
So, you think you're free of stupid idiots, eh?

Time for another limerick, perhaps... :o

Lashiec

  • Member
  • Joined in 2006
  • **
  • Posts: 2,374
    • View Profile
    • Donate to Member
Re: DC loads fast. What is the secret.
« Reply #13 on: November 20, 2008, 05:10 PM »
God, I swear I read "as a religious leader of DC forums" both in alivingspirit and f0dder's posts ;D

Why do we fail to attract nasty trolls and stupid idiots?

True. And this is an unacceptable situation. An Internet forum is not a true forum unless it has its share of trolls. Perhaps we should hire someone as the friendly resident troll? :P

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Points: 1
  • Posts: 9,778
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: DC loads fast. What is the secret.
« Reply #14 on: November 20, 2008, 07:01 PM »
Why do we fail to attract nasty trolls and stupid idiots?
So, you think you're free of stupid idiots, eh?

Time for another limerick, perhaps... :o
-cranioscopical (November 20, 2008, 03:48 PM)

Hey! >:( As someone who helped create that limerick, I resemble that remark! :P

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: DC loads fast. What is the secret.
« Reply #15 on: November 20, 2008, 07:21 PM »
I hi-jacked the thread. I'm an idiot. Sorry :-[
- carpe noctem

Gothi[c]

  • DC Server Admin
  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 873
    • View Profile
    • linkerror
    • Donate to Member
Re: DC loads fast. What is the secret.
« Reply #16 on: November 30, 2008, 08:29 PM »
While the dc website may have an 'old school' look, I noticed that the average page size is not any smaller than your average website, if not bigger.

We average about 3 to 10 requests per second, depending on the time of the day.
Right now, with 10 requests/sec, load average is 0.26, 0.26, 0.2
... So yeah... fancy server :)
Beyond that it's just tweaking the apache Min/MaxSpareServers,ServerLimit,MaxClients and MaxRequestsPerChild values to match the capabilities of the server and reflected traffic. Though more tuning could be done there. We're just using the prefork MPM for now. But that probably will only affect anything under maximum load.
Other than that nothing special configuration wise, there's a lot more that could be done, and a lot more tweaking to do. But all that takes testing which we're not too keen on doing. ( prefer no downtime over 1ms faster loading page for now ;) )

So it's probably mostly due to the server being a beast.
(dual quad core (so 8 cpu cores total), 4GB ram)

Like mouser said, we rely 100% on continuous donations to keep this place running, so keep donating whenever you can if you want to keep seeing fast loading pages :D

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: DC loads fast. What is the secret.
« Reply #17 on: December 01, 2008, 12:40 AM »
Gothic: it's not only the server specs, I bet, but also has a lot to do with the hosting facility and the quality of it's peering. Here from Denmark, I have 21 hops/170ms to www.donationcoder.com - and the site absolutely flies :Thmbsup:
- carpe noctem

Gothi[c]

  • DC Server Admin
  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 873
    • View Profile
    • linkerror
    • Donate to Member
Re: DC loads fast. What is the secret.
« Reply #18 on: December 01, 2008, 07:51 AM »
Yes, of course. the connectivity matters a great deal. Glad to hear all is working so smooth for everyone :) It's nice to hear the opposite of complaining for a change :D