On 5/31/07, Pavel Mateja <[EMAIL PROTECTED]> wrote:
On Thursday 31 of May 2007 15:32:43 Joshua Slive wrote:
> Yes, it is likely a mod_mem_cache problem. Try using the disk cache
> instead. It is better tested, and likely just as performant as the mem
> cache in most circumstances.
Unfortunatelly it's not an option for us.
We have to use some sort of cache and we won't to use disk for it.
Maybe we will try disk cache on ram disk or such hack.
You can do disk cache on ram disk if you want.
But the disk cache often has better performance than the memory cache
even on a normal disk. There are two reasons for this:
1. The disk cache is shared between all processes, while the mem cache
must keep copies of each object for each processes.
2. The disk cache takes full advantage of your OSes buffer caches and
zero-copy networking. If you have enough memory, then frequently
accessed stuff from the disk cache is going to be kept in memory by
your OS. And instead of apache having to handle all the
synchronization itself, it will all be handled in the kernel where it
is the most efficient.
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]