Quantcast

Performance issues with large multilingual structure and menu module

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Performance issues with large multilingual structure and menu module

mekko
Hi all,

I am facing a serious performance problem (Tiki 9.6). While my structure keeps rapidly growing at the moment due to new content and many translations being added, it takes more and more time to load my tiki pages for display. With 2 languages and around 700 pages each, displaying the home page (only 2 lines of text) already takes 7 seconds loading time. When removing the menu module it takes "only" 2 seconds (with 2 other menu modules with very small structures).

I need to display the menu structure for fast navigation (first level are around 70 items already). However, the menu seems to be always newly reloaded. I tried setting the cache time in the menu module, but this did not seem to take any effect.

Do you have any experience with this kind of performance problem? Could this be resolved by caching using APC / XCache or similar or is this an issue with the menu module? My hosting provider has very fast database query speed already (tested by colleagues) and claims that installating APC would be contra-productive.

Many thanks for your help in advance,
mekko

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Performance issues with large multilingual structure and menu module

"Tóth Attila"
Dear mekko,

"PHP accelerators work by caching the compiled opcode/bytecode of PHP
representation of php files to avoid the overhead of parsing and compiling
source code on each request" (source: wikipedia)

PHP accelerators won't help you avoid querying the database for dynamic
content. You should definitely give them a try regardless how fast the
background database is claimed by the hosting company.
For PHP 5.4 I use xcache. It works fine. For PHP 5.5 it depends whether it
was compiled with or without the opcode option. If it has opcode, it means
it already has a Zend implementation of PHP accelerator built in. You only
have to make sure, that it is active for your site. This implementation
doesn't take care of the user data, so installing pecl-apcu for that
purpose is encouraged.

Since it's a Tiki mailing list, I don't really want to spend more time on
PHP accelerators.

I also don't have any knowledge on the menu module's internals, especially
regarding performance.
I would do some benchmarking to make sure what is the bottleneck in your
case. Nevertheless, enabling a PHP accelerator is a must in my opinion.

Regards:
Dw.
--
dr Tóth Attila, Radiológus, 06-20-825-8057
Attila Toth MD, Radiologist, +36-20-825-8057

2013.Szeptember 4.(Sze) 16:07 időpontban mekko ezt írta:

> Hi all,
>
> I am facing a serious performance problem (Tiki 9.6). While my structure
> keeps rapidly growing at the moment due to new content and many
> translations
> being added, it takes more and more time to load my tiki pages for
> display.
> With 2 languages and around 700 pages each, displaying the home page (only
> 2
> lines of text) already takes 7 seconds loading time. When removing the
> menu
> module it takes "only" 2 seconds (with 2 other menu modules with very
> small
> structures).
>
> I need to display the menu structure for fast navigation (first level are
> around 70 items already). However, the menu seems to be always newly
> reloaded. I tried setting the cache time in the menu module, but this did
> not seem to take any effect.
>
> Do you have any experience with this kind of performance problem? Could
> this
> be resolved by caching using APC / XCache or similar or is this an issue
> with the menu module? My hosting provider has very fast database query
> speed
> already (tested by colleagues) and claims that installating APC would be
> contra-productive.
>
> Many thanks for your help in advance,
> mekko
>
>
>
>
>
> --
> View this message in context:
> http://tikiwiki.1073613.n5.nabble.com/Performance-issues-with-large-multilingual-structure-and-menu-module-tp28101.html
> Sent from the TikiWiki - User mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft
> technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> _______________________________________________
> TikiWiki-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-users
>



------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
TikiWiki-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-users
Loading...