memcached frontend

Evan Martin martine@danga.com
14 Aug 2003 22:45:27 -0700


On Thu, 2003-08-14 at 22:04, Brad Fitzpatrick wrote:
> This will only work with Perl-stored data.  If you store a compressed,
> serialized object from, say, PHP, then this client is useless.
> 
> Maybe we should have a convention for the top 4 bits of the opaque flags
> about which API created it?  Then a client like this could do the right
> thing.

The point here is that the interesting data is only available to Perl
anyway, because it's all been Storable'd.  So yeah, only for Perl.  I
wouldn't want to even attempt to implement the Python pickle format in
Perl, either.

I suppose you could mix clients to the same memcached if you were either
careful to keep their keys separate or careful to use a common storage
format (ints, strings), but that's not what I'm using it for and I
primarily wrote this client for my own purposes.  :)

-- 
Evan Martin
martine@danga.com
http://neugierig.org