You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 101 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Speed Freaking on Computer Cops [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
chris
Support Mod
Support Mod


Joined: Jul 17, 2003
Posts: 12


PostPosted: Wed Jun 16, 2004 3:24 pm Reply with quoteBack to top

Well, I'm thinking of it as follows:

When I request

http://www.nukecops.com/somefile1234.html

it is mod_rewrite (from the .htaccess part of the GoogleTap) that first "sees" it and rewrites it to

http://www.nukecops.com/modules.php?name=somemodule

This rewritten address is passed to the PHP interpreter. It is only at this point that PHP starts its work at all. Thus, the PHP extension that does the caching has only at this point the chance to see the request. It thus sees and caches the rewritten URL.

But maybe I am overlooking something...
Find all posts by chrisView user's profileSend private messageVisit poster's website
telli
Support Mod
Support Mod


Joined: Aug 21, 2003
Posts: 335


PostPosted: Wed Jun 16, 2004 4:30 pm Reply with quoteBack to top

Fully Tapped and Fully cached. http://codezwiz.com/

jpcache is great for non nuke php but with nuke it caches the session also so dont be suprised if someone is logged is an admin and shouldnt be.

Cache_Lite works great for blocks and queries combined with Zend and MMTurche server load doesnt go over .01 even with 300+ browsing. Although it isnt often I have that many online. Laughing

_________________
[img]http://www.codezwiz.com/extern.php?get=sig[/img]
http://www.codezwiz.com
PHPNuke Themes
$3.99 500 MB Storage & 20 GIG Trans w/ NO limit MYSQL
Click Me
Find all posts by telliView user's profileSend private message
hamesh
Support Mod
Support Mod


Joined: Feb 13, 2003
Posts: 170

Location: Canada

PostPosted: Wed Jun 16, 2004 10:49 pm Reply with quoteBack to top

Zhen-Xjell wrote:
No I haven't tried the caching packages yet except for ZPS. What is the x performance?

Here are some stats I ran last night:

ApacheBench, Version 2.0.40-dev <$Revision: 1.121.2.4 $>
http://www.hamesh.com/index.php (500 requests, 25 concurrent)

Server:

Apache-AdvancedExtranetServer/1.3.26
PHP 4.2.3
1 CPU: 1.4Ghz
512 MB PC133 Ram

Common: 16MB cache, ramdisk cache dir, loaded as Zend extensions (not PHP extensions), zlib compression via Apache config.

Code:
Accelerator         req/sec   time/req      connect   procing   waiting   total   long req   load
---------------------------------------------------------------------------------------------
No acceleration         3.28 ms   304.672 ms   80   7359   6487   7439   13595   12.04
PHP Accelerator 1.3.3r2   4.46 ms   223.986 ms   *3   5468   4778   5471   10298   15.20
TurckMMCache 2.4.6      *4.63 ms   *216.128 ms   6   *5256   *4614   *5262   *8939   12.10
Zend Performance Suite 3.5   4.39 ms   228.049 ms   12   5554   4896   5566   9778   *10.10

TurckMMCache is clearly the winner. Plus, unlike PHP Accelerator and the Zend Performance Suite, it is open source. Note that this is not my production server. It is a lowly Intel PC and rather dated at that. So don't draw too much from the raw numbers, it's the difference between that's the important part. I didn't bother benching APC or abcache as neither has been maintained in some time.

Oh, using a ramdisk cache dir didn't increase performance since all use shared memory.

I'm switching to TurckMMCache from jpcache (was a temporary solution anyway) as soon as I can get autoconf installed on my managed server.

_________________
Image
Find all posts by hameshView user's profileSend private messageSend e-mailVisit poster's websiteMSN MessengerICQ Number
Coop
Nuke Soldier
Nuke Soldier


Joined: Mar 03, 2004
Posts: 23

Location: Leeds, UK

PostPosted: Thu Jun 17, 2004 2:56 am Reply with quoteBack to top

telli.. i got
Code:
Script Generation: 0.476 Seconds

Sad

_________________
My eyes! I'm not supposed to get pudding in them!
http://www.crooze-control.com
Find all posts by CoopView user's profileSend private messageSend e-mailVisit poster's websiteMSN Messenger
chris
Support Mod
Support Mod


Joined: Jul 17, 2003
Posts: 12


PostPosted: Thu Jun 17, 2004 4:30 am Reply with quoteBack to top

telli wrote:
Fully Tapped and Fully cached. http://codezwiz.com/


Congratulations!

I would appreciate any input as to what steps were necessary that were special to both packages, GoogleTap and jpcache / Cache-Lite / MMCache, so I can include the info in the next version of the PHP-Nuke HOWTO. I don't need any installation instructions, as I have those, rather the special steps - if there are any - that might be needed to make *both* work together.
Find all posts by chrisView user's profileSend private messageVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.387 Seconds - 351 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::