Lifelesspeople.com

 Forum FAQsForum FAQs  Knowledge BaseKnowledge Base  RulesRules   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   HostingHosting   RegisterRegister 
 DonateDonate   WikiWiki   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Digg Effect?

 
Lifelesspeople.com Forum Index -> Server Support Questions
Post new topic   Reply to topic View previous topic :: View next topic  
Author Message
Rashy
Lifeless Person


Joined: 25 Sep 2006
Posts: 632


PostPosted: Sun Sep 16, 2007 1:01 am    Post subject: Digg Effect? Reply with quote

Could the lifeless server (aesir specifically) withstand the digg effect? A front page wouldn't crash the server, would it?

I suppose it also depends on the script that gets hit Laughing Running on the latest install of Wordpress. Average page size of around 150 kb (but depends on how many images of course, so it could fluctuate quite a bit, front page is 50kb).

I got a sponsor type thing and he wants to know Confused
_________________
Rashy!
Back to top
 
ClickFanatic
Est. 2005


Joined: 18 Jan 2005
Posts: 3857


PostPosted: Sun Sep 16, 2007 3:28 am    Post subject: Reply with quote

It has been affected by Digg before, and it went down.

In theory, the server can withstand the effect, but the site that got Dugg was running Joomla (aka pretty 'heavy' CMS, when it's hit a 10,000 and more times per hour).

A static HTML page is much better, as it requires (close to) zero pre-processing.

Other factors are HTTP requests per page. You should take into account that each Digg visit arrives with an empty cache (as far as your site is concerned). So all the stylesheets, images, javascript and whatnot linked from within your page have to be requested.
If one page results in, say, 12 more requests, this is exponentially increasing the effect of Digg visits.

If you want a website that is Digg effect proof, then try to find a host that guarantees such a service. Be prepared to pay a lot of money, though.

As far as normal hosted sites go: be sure to prepare a lightweight static page.
_________________
Captain Jell-O Buster from the Future
[img]http://feeds.feedburner.com/sparepencil.1.gif[/img]
Back to top
 
krt
...


Joined: 11 Jan 2005
Posts: 4607
Location: Australia

PostPosted: Sun Sep 16, 2007 5:35 am    Post subject: Reply with quote

All you have to do is use caching and compression. Each dynamic web page in your site should have a cached and maybe even gzipped version that is updated periodically or when the content is modified.

Other things that help are minimising HTML, CSS and JS, compressing images further, combining CSS/JS into one request for each, using sprites, referer checking and serving simple versions of the page to digg users etc.

Quote:
If one page results in, say, 12 more requests, this is exponentially increasing the effect of Digg visits.

Exponentially? Are you sure?
Back to top
 
ClickFanatic
Est. 2005


Joined: 18 Jan 2005
Posts: 3857


PostPosted: Sun Sep 16, 2007 5:39 am    Post subject: Reply with quote

krt wrote:
All you have to do is use caching and compression. Each dynamic web page in your site should have a cached and maybe even gzipped version that is updated periodically or when the content is modified.

Other things that help are minimising HTML, CSS and JS, compressing images further, combining CSS/JS into one request for each, using sprites, referer checking and serving simple versions of the page to digg users etc.

Compression helps saving bandwidth, but you'll have to make sure a compressed version is statically available, because compressing the response on-the-fly puts more strain on the server.

krt wrote:
Quote:
If one page results in, say, 12 more requests, this is exponentially increasing the effect of Digg visits.

Exponentially? Are you sure?

No, it's linear. But it matters a lot. Silly
_________________
Captain Jell-O Buster from the Future
[img]http://feeds.feedburner.com/sparepencil.1.gif[/img]
Back to top
 
Rashy
Lifeless Person


Joined: 25 Sep 2006
Posts: 632


PostPosted: Sun Sep 16, 2007 6:51 pm    Post subject: Reply with quote

Alright. I'm not as confident as my sponsor about hitting a front page digg, but I will go ahead and get some caching features in place. Having something like WP-Cache won't effect statistics like Analytics or AWStats would it?
_________________
Rashy!
Back to top
 
ClickFanatic
Est. 2005


Joined: 18 Jan 2005
Posts: 3857


PostPosted: Mon Sep 17, 2007 7:40 am    Post subject: Reply with quote

Rashy wrote:
Alright. I'm not as confident as my sponsor about hitting a front page digg, but I will go ahead and get some caching features in place. Having something like WP-Cache won't effect statistics like Analytics or AWStats would it?

Awstats measures requests, so that should continue working properly. Google Analytics uses a script or something. So as long as that is included on your static (cached) pages it should be fine.
WP-Cache does load PHP, though. It reduces the load, but the parser is loaded into memory for each request. This is less effective than a true static file, but I guess it helps a lot.
_________________
Captain Jell-O Buster from the Future
[img]http://feeds.feedburner.com/sparepencil.1.gif[/img]
Back to top
 
Voldemort
Unhandled Exception


Joined: 27 Apr 2005
Posts: 948
Location: In a Galaxy far, far away

PostPosted: Mon Sep 17, 2007 8:01 am    Post subject: Reply with quote

A thing I know for sure is that the server cannot withstand a digged IPB page. Laughing Tested first hand. Embarassed Embarassed

Better cache it completely instead of using script cache features. If it's a script page (like wordpress, a forum or anything else), I would suggest to convert it completely to an .html file, so as to have peace of mind. Very Happy
_________________
It's beginning to look a lot like Christmas
Everywhere you go;
Take a look in the five and ten glistening once again
With candy canes and silver lanes aglow..

(It's beginning to look a lot like Christmas)
Back to top
 
Rashy
Lifeless Person


Joined: 25 Sep 2006
Posts: 632


PostPosted: Mon Sep 17, 2007 2:23 pm    Post subject: Reply with quote

Well I can't create a static .html file for every one of my articles (at least I don't think I can).

I suppose I would just have to keep an eye on my dugg articles to make sure that they don't get out of hand and if they do prep a .html real fast. I think I saw an article on how to do this (and I think it front-paged on digg too Silly)
_________________
Rashy!
Back to top
 
ClickFanatic
Est. 2005


Joined: 18 Jan 2005
Posts: 3857


PostPosted: Mon Sep 17, 2007 2:37 pm    Post subject: Reply with quote

You'll get a big fat warning from Trel if you mess up. Silly
_________________
Captain Jell-O Buster from the Future
[img]http://feeds.feedburner.com/sparepencil.1.gif[/img]
Back to top
 
krt
...


Joined: 11 Jan 2005
Posts: 4607
Location: Australia

PostPosted: Mon Sep 17, 2007 7:40 pm    Post subject: Reply with quote

Why? Won't you just exhaust your bandwidth and have your site shut down automatically with a message somewhere along the lines of "Site is temporarily unavailable: Bandwidth Exceeded"
Back to top
 
Voldemort
Unhandled Exception


Joined: 27 Apr 2005
Posts: 948
Location: In a Galaxy far, far away

PostPosted: Tue Sep 18, 2007 3:10 am    Post subject: Reply with quote

krt wrote:
Why? Won't you just exhaust your bandwidth and have your site shut down automatically with a message somewhere along the lines of "Site is temporarily unavailable: Bandwidth Exceeded"


Nope. Mine had lots of bandwidth left even after the whole digg frontpage thing was over. Digg effect has to do much more with server resources, like PHP, mySQL and the like, rather than bandwidth consumption. Very Happy
_________________
It's beginning to look a lot like Christmas
Everywhere you go;
Take a look in the five and ten glistening once again
With candy canes and silver lanes aglow..

(It's beginning to look a lot like Christmas)
Back to top
 
spock
iSpock


Joined: 23 Mar 2005
Posts: 2866
Location: The Netherlands

PostPosted: Tue Sep 18, 2007 9:41 am    Post subject: Reply with quote

ClickFanatic wrote:
A static HTML page is much better, as it requires (close to) zero pre-processing.

Exactly, if you get dugg/might get dugg, put a static copy of your page somewhere.
_________________
Spock's blog
My new site
My OpenTTD data package
Back to top
 
ClickFanatic
Est. 2005


Joined: 18 Jan 2005
Posts: 3857


PostPosted: Tue Sep 18, 2007 9:42 am    Post subject: Reply with quote

krt wrote:
Why? Won't you just exhaust your bandwidth and have your site shut down automatically with a message somewhere along the lines of "Site is temporarily unavailable: Bandwidth Exceeded"

It's not about bandwidth. The large amount of requests create a sudden increase in CPU and memory usage, which hangs the server (making all hosted sites unavailable).
_________________
Captain Jell-O Buster from the Future
[img]http://feeds.feedburner.com/sparepencil.1.gif[/img]
Back to top
 
Display posts from previous:   
Post new topic   Reply to topic    Lifelesspeople.com Forum Index -> Server Support Questions All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Home | Hosting | News | Forum | Links | System Status | About | Archive | Donate ]
Powered by phpBB © 2001, 2002 phpBB Group
All trademarks and copyrights on this page are owned by their respective owners. Posts and comments are owned by the poster. Everything else © 2001 - 2007 Lifelesspeople.com