PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
perfect-games
Regular
Regular


Joined: Oct 28, 2004
Posts: 81

PostPosted: Sat Mar 05, 2005 8:16 pm Reply with quote Back to top

hi guys well working on version 4 of my phpnuke distro so far i managed to get the queries down quite low and i have not even added cache yet
but php still showing on the high side what would you reccomened to lower the sql usage on my server
[ Script generation time: 0.361s (PHP: 70% - SQL: 30%) ] - [ SQL queries: 32 ] - [ Pages served in past 5 minutes : 21 ] - [ GZIP disabled ] - [ Debug off ]

thanks
steve
View user's profile Send private message
perfect-games
Regular
Regular


Joined: Oct 28, 2004
Posts: 81

PostPosted: Sat Mar 05, 2005 8:20 pm Reply with quote Back to top

if i remove all the db files not needed like msaccess, odbc etc would this help imrove performance, is there anything else i can do to get loads of speed, as i want to speed this distro up before i add the hacks to it
thanks
steve
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15235
Location: Kansas

PostPosted: Sun Mar 06, 2005 1:29 am Reply with quote Back to top

Removing files has ZERO impact on nuke's performance Smile
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
perfect-games
Regular
Regular


Joined: Oct 28, 2004
Posts: 81

PostPosted: Sun Mar 06, 2005 8:23 am Reply with quote Back to top

i have rewrote most of the sql layer, but as you have experienced chache on nuke whats the best to go for as i want to include this in the distro,
i already have gt nextgt admin panel, meta in admin panel , trying to make this easier for everone to use
thanks
steve
View user's profile Send private message
perfect-games
Regular
Regular


Joined: Oct 28, 2004
Posts: 81

PostPosted: Sun Mar 06, 2005 8:28 am Reply with quote Back to top

whats the main parts of nuke i should look at for speed, i have removed all lang except english, it seems the biggest impact on nuke is the blocks without them its so low like close to 10 queries would cache sort this problem out, i was thinking if there is a good cache so when users install my ditro there wont be much work for them to do,
as jpcache you have to give the full url of the includes home/username/hhtp_public/includes is there an better way of doing this so it will work straight out of the box with out having the full url
View user's profile Send private message
djmaze
Subject Matter Expert


Joined: May 15, 2004
Posts: 571
Location: http://tinyurl.com/5z8dmv

PostPosted: Tue Mar 08, 2005 4:20 pm Reply with quote Back to top

There are several ways to reduce SQL load by merging queries and other stuff.
The disadvantages could be slow queries or high memory usage.

The trick is to find the best solution for each individual module/file.
Biggest query eaters are is_admin() and is_user() as explained by steven111, someone i forgot name of and me on nukecops.com after a discussion about duplicate/re-occuring queries.

A good cache system also speeds up your system, but be carefull since it also eats more memory in PHP itself.

The best way to find out, is to list all queries each page calls.
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous 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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum