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

Re: Using memcached with FSFS repositories

From: Hyrum K. Wright <hyrum_at_hyrumwright.org>
Date: Wed, 13 May 2009 12:34:34 -0500

On May 13, 2009, at 11:56 AM, Chris Lieb wrote:

>
> On 5/13/2009 11:37 AM, Mark Phippard wrote:
>> On Wed, May 13, 2009 at 12:31 PM, Chris Lieb
>> <chris.lieb+nospam_at_gmail.com> wrote:
>>
>>> I noticed in the release notes for Subversion 1.6 that one of the
>>> new
>>> features is caching for FSFS repositories using memcached. When I
>>> install subversion-1.6.* on Gentoo, part of the post-install notes
>>> say
>>> that, in order to use the caching, I need to install memcached,
>>> configure and start it, then configure my repositories to use it.
>>>
>>> I have installed memcached, configured it to have a cache of 256MB
>>> and
>>> listen on 0.0.0.0:11211, and started it. Running memcached-tool
>>> locally
>>> gives me an empty list of cached objects. Checking out some files
>>> using
>>> http, svn+ssh, and file RAs does not seem to cause any cache to be
>>> built, as memcached-tool still displays an empty cache pool.
>>>
>>> What do I have to do to get memcached support enabled for my
>>> Subversion
>>> repositories? I haven't been able to find a thing using Google
>>> other
>>> than that the feature was added in Subverison 1.6.
>>
>> When I create a new fsfs repository with SVN 1.6, inside the "db"
>> folder is a file named fsfs.conf. This contains the memcached
>> settings.
>>
> Thanks. That's exactly what I was looking for. Is this documented
> anywhere? I didn't know that that config file existed. I was busy
> looking in the config/ directory.

http://svnbook.red-bean.com/nightly/en/svn.reposadmin.create.html#svn.reposadmin.create.fsfs

-Hyrum

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2240563

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-13 19:35:58 CEST

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

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