Re: Mod_proxy problem in 2.2.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/31/07, Pavel Mateja <pavel@xxxxxxxxxx> 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: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux