Re: command line interface to chunkd, tabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/08/2009 01:54 PM, Pete Zaitcev wrote:
On Sun, 08 Nov 2009 03:28:28 -0500, Jeff Garzik<jeff@xxxxxxxxxx>  wrote:

A command line client for chunkd, chcli, was just committed.  It offers
the ability to GET (dumps to stdout) and PUT (input from cmd line arg).

I wonder how you square that with the recent move away from ASCII keys.

We didn't move away from ASCII keys, we added support for non-ASCII-hexidecimal keys :)

The chcli '-k' option enables command line use of fully binary keys.

But just like every other key/value store out there, people often use printable strings as keys, because it's an easy model for them to use. So we enable that easy model, too.

This is somewhat analagous to db_dump[1], where full binary I/O is supported... but because of common usage, the ability to load text databases is also present.

In a different perspective, chunkd recently gained the ability to support arbitrary ASCII keys, too.

	Jeff


[1] http://www.oracle.com/technology/documentation/berkeley-db/db/api_reference/C/db_load.html

--
To unsubscribe from this list: send the line "unsubscribe hail-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Fedora Clound]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux