You are here: Re: [PHP] cache engine « PHP « IT news, forums, messages
Re: [PHP] cache engine

Posted by Chris Smith on 03/05/05 23:36

Evert - Rooftop Solutions wrote:

> I have written an extensive web application frameworks, and I keep
> seeing my execution time and memory-usage growing. Right now it is not a
> problem, but before it get's out of hands I will need to create a good
> cache engine.
> My cache engine requires that I can cache method results, based on
> multiple parameters. What would be a good way to implement this? I know
> this propably a well-formed question, but before I start, I want to be
> sure I'll do it the right way. Has anyone got any experience with this,
> or can anyone give me some pointers on where to start looking?

I have seen some people using stornig cached items in shared memory.
This is explained in some detail here:

http://www.danga.com/memcached/

There are PHP client APIs available.

Alternatively PEAR offers some interesting caching solutions although i
have not investigated them thoroughly ( http://pear.php.net/ )

Caching brings all sorts of wierdness out in applications due to
multiple states of data being present in different layers in a system,
so be careful.

Hope this helps,

Chris Smith
Ninja Labs
http://www.ninjalabs.co.uk/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация