memcached protocol (questions)

JM Ibanez cyberlizard@hotpop.com
27 Jul 2003 12:07:00 +0800


--=-AH3o+JDiUve9WCe33v6B
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

1) Are ints stored directly? What exactly are incr and decr for? From
how I understand it, incr/decr increments/decrements a value stored in
the server in-place; the value is assumed to be a 32-bit unsigned int.
So, that means that the server can manipulate stored values. I thought
the values would be opaque to the server? Someone please clarify me on
this.

2) Is data replicated across servers, or is a particular key unique to a
particular server? I've been looking through both the Perl and PHP
implementations, and I see that the server is selected via a hash value
created from the user key. Does this mean the client is responsible for
selecting which server it stores data in? Or I'm completely misreading
the implementations? (NOTE: I know enough of Perl and PHP to read code,
but not write code)

Please enlighten me :)

--=20
Jan Michael Ibanez
Student, University of Asia & the Pacific

CELL   +63919 422 1141
WEB    one Generic lizard Geek's LiveJournal
       http://www.livejournal.com/~cyberlizard
WEB    CyberLizard productions (coming soon)
       http://www.mycgiserver.com/~butiki



--=-AH3o+JDiUve9WCe33v6B
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQA/I0/ioV+MFAUeJFkRAvScAJ4qLFVZhQ6W7OHxO0b4fHwbFBoHugCff49f
fLlHbOzl1JdJUZNOytWkl7E=
=B9pr
-----END PGP SIGNATURE-----

--=-AH3o+JDiUve9WCe33v6B--