Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
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
Re: Need advice! Running TXP-driven site that's about to get 100,000+ hits
Patrick, got link?
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
Re: Need advice! Running TXP-driven site that's about to get 100,000+ hits
http://lifelongactivist.com
Offline
Re: Need advice! Running TXP-driven site that's about to get 100,000+ hits
Offline
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?
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
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