Re: [PHP] cache engine

2005-03-06 Thread Chris Smith
Evert - Rooftop Solutions wrote: Mark Charette wrote: Evert - Rooftop Solutions wrote: I heard that shared memory is actually slower than writing and reading a file and it is not available on windows systems. Hmmm ... that's an interesting thing you heard concerning shared memory. Care to share

[PHP] cache engine

2005-03-05 Thread Evert - Rooftop Solutions
Hi people, 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,

Re: [PHP] cache engine

2005-03-05 Thread Chris Smith
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

Re: [PHP] cache engine

2005-03-05 Thread Evert - Rooftop Solutions
Chris Smith wrote: I have seen some people using stornig cached items in shared memory. This is explained in some detail here: http://www.danga.com/memcached/ I heard that shared memory is actually slower than writing and reading a file and it is not available on windows systems. There are PHP

Re: [PHP] cache engine

2005-03-05 Thread Mark Charette
Evert - Rooftop Solutions wrote: I heard that shared memory is actually slower than writing and reading a file and it is not available on windows systems. Hmmm ... that's an interesting thing you heard concerning shared memory. Care to share _who_ told you that? I'd like to make sure I don't

Re: [PHP] cache engine

2005-03-05 Thread James Williams
Mark Charette wrote: Evert - Rooftop Solutions wrote: I heard that shared memory is actually slower than writing and reading a file and it is not available on windows systems. Hmmm ... that's an interesting thing you heard concerning shared memory. Care to share _who_ told you that? I'd like

Re: [PHP] cache engine

2005-03-05 Thread Evert - Rooftop Solutions
Mark Charette wrote: Evert - Rooftop Solutions wrote: I heard that shared memory is actually slower than writing and reading a file and it is not available on windows systems. Hmmm ... that's an interesting thing you heard concerning shared memory. Care to share _who_ told you that? I'd like

Re: [PHP] cache engine

2005-03-05 Thread Mark Charette
Evert - Rooftop Solutions wrote: Check it out, is in old article, but it says |shm| -- The |shm| container stores the cached data in the shared memory. Benchmarks indicate that the current implementation of this container is much slower than the |file| container. Which, of course, is miles away