Re: Function caching...
| From: | Stanislav Malyshev | Date: | Sun, 10 Dec 2000 08:08:47 +0000 |
| Subject: | Re: Function caching... | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-40734@lists.php.net to get a copy of this message | ||
KK>> You already stated that the repeated compile is slowing down
KK>> applications. Zend is currently constructing the Zend Cache,
KK>> which will take care of that, but I believe that this is only a
KK>> cure of a symptom and does not address the real problem.
Real problem being?
KK>> The third problem is the indivisible user rights if you are
KK>> running as a part of the web server, as Apache modules do. You
KK>> always act as wwwrun. On the other hand, you are running in a
AFAIK, Apache 2 is going to change that.
KK>> turning them into memory hogs. A proper native implementation is
KK>> needed instead.
What do you mean by "native implementation"? What do you expect from it?
KK>> Using a PHP written function cache makes life difficult, as you
KK>> have to manually change all function calls to use the cache
KK>> wrapper. A native implementation would do this transparently
KK>> once you set a function cacheable.
This is indeed doable, though subtle implementation problems could arise.
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.106