Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-12-03 14:54:09

ptyrrell
New Member
Registered: 2006-12-03
Posts: 3
Website

Need advice! Running TXP-driven site that's about to get 100,000+ hits

Hi—

Like the subject-line says, the site I’m running is about to get reviewed on Daily Kos and we’re expect a big load of usage in the next few days. Estimated 100,000+ hits a day. I was hoping to talk to any TXP developers/users who have been in similar situations. Does TXP hold up to that kind of use?

The site I’m running is using the latest version of TXP. It’s a blog with about 7 static sections as well. Users can comment (w/o needing a username), download files, and use a contact form.

Success is frightening. Any advice?

Thanks!
Patrick

Offline

#2 2006-12-03 15:23:50

Elenita
Member
From: Falls Church, VA
Registered: 2004-05-16
Posts: 407
Website

Re: Need advice! Running TXP-driven site that's about to get 100,000+ hits

I haven’t experienced this sort of thing myself, but: if you have visitor logs turned on, I’d consider turning them off temporarily. It’d be a little easier on the database, I think.

Other than that, I think the best thing you can do is to email your hosting provider and mention that you’re expecting a lot of hits. I suspect that this will be less of a software issue than a hardware one.

Congrats—and good luck!

Offline

#3 2006-12-03 17:16:05

hcgtv
Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: Need advice! Running TXP-driven site that's about to get 100,000+ hits

Patrick, got link?

Offline

#4 2006-12-03 17:17:58

ptyrrell
New Member
Registered: 2006-12-03
Posts: 3
Website

Re: Need advice! Running TXP-driven site that's about to get 100,000+ hits

http://lifelongactivist.com

Offline

#5 2006-12-03 17:28:05

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: Need advice! Running TXP-driven site that's about to get 100,000+ hits

Offline

#6 2006-12-03 17:39:49

hcgtv
Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: Need advice! Running TXP-driven site that's about to get 100,000+ hits

The only thing I see that’s heavy on the site is header-bg.png, it’s 70.78 KB (72475 bytes).

To reduce the load, limit the amount of articles on the front page from 15 to let’s say 5?

Offline

#7 2006-12-03 18:30:55

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: Need advice! Running TXP-driven site that's about to get 100,000+ hits

There is also an entry in the FAQ:

http://textpattern.com/faq/136/diagnosing-performance-problems

One more thing: If you do not already have a favicon.ico in the webroot, add one (even it’s just a blank file). Otherwise the 404 is handled by Textpattern – which doesn’t do anything, but it means another PHP-request needs to be handled by the webserver in parallel.
If you do not often change css-files, consider using static files on the webserver, rather than textpattern’s built-in css features.

The Faq entry talks about how to check the “performance” of individual pages (runtime, queries etc.), and how to get them down (by restructing templates; using different tags, or one of the caching plugins)

Offline

Board footer

Powered by FluxBB