command line interface to chunkd, tabled
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).
Also, some quick searching revealed a command line tool for S3 (and thus tabled), "s3cmd": http://s3tools.org/s3cmd
Jeff
Quoted 2 lines · Jeff Garzik
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.
-- Pete
Quoted 6 lines · Pete Zaitcev
Quoted 2 lines · Jeff Garzik
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