[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: New data caching in 1.7

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 11 Apr 2011 11:15:41 +0100

Mark Phippard <markphip_at_gmail.com> writes:

> Was reading the release notes on the new in-memory cache. How does
> this work (provide benefits) with mod_dav_svn? It seems like the
> cache is per-process. Aren't the processes (pre-fork MPM) with DAV
> generally short-lived? If I checkout trunk and someone else
> immediately checks out trunk after me do they get some kind of caching
> benefit from my checkout?

Apache with the pre-fork MPM is a set of single threaded processes, with
the worker MPM it is a set on multi-threaded processes. The lifetime of
each process is configurable, it's possible to configure a new process
for every connection (or every http request if keepalive is not enabled)
but performance suffers so I think it is normal for each process to
handle hundreds, or thousands of requests.

The cache code is new but in-memory caching is not, to a certain extent
the current code replaced the previous in-memory cache.

-- 
Philip
Received on 2011-04-11 12:16:20 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.