[dev] Re: Caching methods

Barry Flanagan barryf-imp@digiserve.ie
Thu, 20 Dec 2001 11:48:28 +0000


On Wednesday 19 December 2001 21:00, you wrote:
> On Wed, 19 Dec 2001, Jon Parise <jon@horde.org> wrote:
> > Nick Ustinov <nick@inbox.lv> reports:
> >
> >     "By the way, maybe someone is asking about different caching
> >     methodes to use with Horde/IMP3 -- I've ran several tests and
> >     the best performance was shown by APC (Alternative PHP Cache)
> >     with SHM model. It has shown ~400% optimization.  The server
> >     is quite heavily loaded at ~100-120reqs/second."
>
> Very interesting!  Thanks for passing this along.  To continue the
> thought, how does (or could) this relate to the Horde Cache (settings in
> config/horde.php)?  Could one write a driver for Horde's cache that would
> use PHP's?


I tried this last night, after reading Nick's post. Unfortunately it lead to 
httpd processes segfaulting on some pages - notably Turba searches and some 
Kronolith pages.

Setup is:

Apache 1.3.19 on Linux
APC apc-1.1.0pl1
PHP 4.0.6 / updated PEAR 
IMP CVS RELENG_3
Horde CVS RELENG_2
Turba/Kronolith CVS HEAD

My APC settings in php.ini were

apc.mode = shm
apc.check_mtime = 1
apc.relative_includes = 1

Any ideas?

-Barry Flanagan