Re: [PHP-PEAR] Output_Cache Module
[email protected] (Vinai Kopp) Sun, 25 Feb 2001 17:13:12 +0100
| Newsgroups | php.pear |
|---|---|
| Message-ID | <[email protected]> |
Björn Schotte wrote: > > An output cache should have the following > features: > - provide a "server" mechanism with ext/sockets > so that if you use shm for example, all the > data is stored on a specific server and the > API pulls the containers from this server which > is listening on a socket port. This avoids having > the same datas on each machine if you use clustered > web servers (currently, in our application we have > 4 web frontends) > As far as my limited knowledge goes there would have to be some kind of "cache server" running on one of the machines, who handles the storage in shm on that machine (or some other container). Is that right? Is there a possibility of implementing your suggestion only with a cache class? If yes, please give me a hint how to get a shm segment from another machine using php :) Vinai