Page caching and performance..

Discuss phpwcms here, please do not post support requests, bug reports, or feature requests! Non-phpwcms questions, discussion goes in General Chat!
Post Reply
DusX
Posts: 99
Joined: Thu 1. Apr 2004, 16:00
Location: Canada

Page caching and performance..

Post by DusX »

I am new here so please excuse me if I should know this :oops:

I have a pre-existing site that is getting ~400 unique visitors a day now and is hosted on a shared host... I am wondering if phpWCMS is ready to hand this load.. I have not read anything that mentioned the use of a caching engine or anything like this...

I love the system but I am trying to get a feel for how large a site you can tackle with it.

thanks
======
DX
======
ionrock
Posts: 279
Joined: Fri 20. Feb 2004, 17:04

Post by ionrock »

I don't have any stats or anything but I can't imagine you would be looking at huge hits in performance due the simple nature of the cms. For example you don't have the overhead you might see on a message board system or slashdot type site. This is just a guess though. Oliver I believe has used this on larger sites so I figure he would probably have a good idea of how it all works under high loads. Hope that helps and if you do use it, let us know how things do go under a load :)
DusX
Posts: 99
Joined: Thu 1. Apr 2004, 16:00
Location: Canada

Post by DusX »

I was hoping this to be the case... I am just used to cms systems talking about page caching... typo3 in particular.. I know that typo is a big app and I understand why it needs to cache..
I just checked my site stats and I'm looking at between 20 and 40 thousand page views perday... that is almost double what I had last month so I am rather concerned about a system being able to handle the growth with out forcing me to a dedicated machine (thats just mot in the budget :( )

I will put together a few smaller sites first to get a good feeling for the cms before reworking plastikwrap.

Ps: is there a documented/ or un documented plugin system for phpWCMS..?
======
DX
======
ionrock
Posts: 279
Joined: Fri 20. Feb 2004, 17:04

Post by ionrock »

Working on it currently. The api for the plugins is being worked out along with a simple way to integrate any type of plugin. If you have any input on this please let me know :)
User avatar
Oliver Georgi
Site Admin
Posts: 9948
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

At the moment there is no need for caching.

phpwcms project site has round about 1000 visits and 100000 hits per day. Do you think it is slow? The server is a Celeron 2000 MHz, 256 MB. The code structure (frontend) is very flat - not that big overhead than in Typo3.

But I have thought about caching too.

If you want to speed up your PHP install ask your provider to install TurckMMCache - the best PHP accelerator. Speedup factor = 3.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
User avatar
Fulvio Romanin
Posts: 394
Joined: Thu 4. Dec 2003, 11:12
Location: Udine, Italy
Contact:

Post by Fulvio Romanin »

i am quite concerned for the festival site i made. Two years ago, in the days before the festival, it scored a whopping 50.000 visits with over 1.000.000 hits PER DAY. I wonder if i need to install that cache. :)
Completeness is reached through subtraction, not through addition
RonDog
Posts: 50
Joined: Fri 10. Sep 2004, 22:02
Location: Germany, Munich
Contact:

Post by RonDog »

Hi, concerning the cache / performance issue, I have a question related to this.

Could anyone make a statement about the load (in terms of records/articles and concurrent hits) phpWCMS can handle?
Ron

"Silence is foolish if we are wise, but wise if we are foolish."
User avatar
Oliver Georgi
Site Admin
Posts: 9948
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

normal sized "real time" page generation on Celeron 2000 in around 0.03 seconds. Caching is in preparation.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
RonDog
Posts: 50
Joined: Fri 10. Sep 2004, 22:02
Location: Germany, Munich
Contact:

Post by RonDog »

Sounds great... :wink:

How is this number influenced when I make heavy use of the {RELATED:...} feature on some pages such as reference or summary pages?


I assume they will not be used a thousand times an hour, but frequently.

Also lets assume I have 10.000 articles to walk through each time such a summary page is hit. Have a rough guess?
Ron

"Silence is foolish if we are wise, but wise if we are foolish."
User avatar
Oliver Georgi
Site Admin
Posts: 9948
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

This is based on how fast your MySQL is. And if such query is done results may cached by MySQL itself. So first hit should need a bit longer while next same hits are faster.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
RonDog
Posts: 50
Joined: Fri 10. Sep 2004, 22:02
Location: Germany, Munich
Contact:

Post by RonDog »

Oliver Georgi wrote:This is based on how fast your MySQL is.
??? what's the difference between mySQL & mySQL ??? or in other words, what does mySQL make fast, besides a fast CPU, lightning fast HDs and GIGs of highspeed RAM ?
Oliver Georgi wrote:And if such query is done results may cached by MySQL itself. So first hit should need a bit longer while next same hits are faster.
I think this is obvious, if there's a caching. Do I have influence or how could I make mySQL to cache? I have full acces onto my server! (suse Linux 9.x, Apache 2.0, PHP 4.3.4, mySQL 4.0.18 )

Sorry to walk your nerves Oliver, but as a mainframe developer I used various databases, but never was involved in such basic core issues before.
Ron

"Silence is foolish if we are wise, but wise if we are foolish."
User avatar
Oliver Georgi
Site Admin
Posts: 9948
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

Look at this for finding solutions to optimize MySQL
http://dev.mysql.com/doc/mysql/en/Query_Cache.html

And for PHP acceleration I always recommend the use of TurckMMCache
http://turck-mmcache.sourceforge.net/index_old.html

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
Post Reply