You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Blair Zajac <bl...@orcaware.com> on 2008/04/02 21:05:41 UTC
Re: svn commit: r30194 - branches/in-memory-cache/subversion/libsvn_subr
glasser@tigris.org wrote:
> Author: glasser
> Date: Wed Apr 2 14:00:49 2008
> New Revision: 30194
>
> Log:
> On the in-memory-cache branch:
>
> Base64-encode all keys, not just fixed-length ones (so that users
> don't have to worry about whitespace).
That makes logging harder though. Reading through memcached logs for cache hits
and misses won't be easy.
How about using URI encoding instead, which 1) preserves the look of the key and
2) has shorter keys
Blair
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: svn commit: r30194 - branches/in-memory-cache/subversion/libsvn_subr
Posted by David Glasser <gl...@davidglasser.net>.
On Wed, Apr 2, 2008 at 2:05 PM, Blair Zajac <bl...@orcaware.com> wrote:
> glasser@tigris.org wrote:
>
> > Author: glasser
> > Date: Wed Apr 2 14:00:49 2008
> > New Revision: 30194
> >
> > Log:
> > On the in-memory-cache branch:
> >
> > Base64-encode all keys, not just fixed-length ones (so that users
> > don't have to worry about whitespace).
> >
>
> That makes logging harder though. Reading through memcached logs for cache
> hits and misses won't be easy.
>
> How about using URI encoding instead, which 1) preserves the look of the
> key and 2) has shorter keys
Good call; see r30200. (Still using base64 for fixed-length keys.)
--dave
--
David Glasser | glasser@davidglasser.net | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org