All of lore.kernel.org
 help / color / mirror / Atom feed
* command line interface to chunkd, tabled
@ 2009-11-08  8:28 Jeff Garzik
  2009-11-08 18:54 ` Pete Zaitcev
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Garzik @ 2009-11-08  8:28 UTC (permalink / raw)
  To: Project Hail


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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: command line interface to chunkd, tabled
  2009-11-08  8:28 command line interface to chunkd, tabled Jeff Garzik
@ 2009-11-08 18:54 ` Pete Zaitcev
  2009-11-08 19:50   ` Jeff Garzik
  0 siblings, 1 reply; 3+ messages in thread
From: Pete Zaitcev @ 2009-11-08 18:54 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Project Hail

On Sun, 08 Nov 2009 03:28:28 -0500, Jeff Garzik <jeff@garzik.org> 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.

-- Pete

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: command line interface to chunkd, tabled
  2009-11-08 18:54 ` Pete Zaitcev
@ 2009-11-08 19:50   ` Jeff Garzik
  0 siblings, 0 replies; 3+ messages in thread
From: Jeff Garzik @ 2009-11-08 19:50 UTC (permalink / raw)
  To: Pete Zaitcev; +Cc: Project Hail

On 11/08/2009 01:54 PM, Pete Zaitcev wrote:
> On Sun, 08 Nov 2009 03:28:28 -0500, Jeff Garzik<jeff@garzik.org>  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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-11-08 19:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-08  8:28 command line interface to chunkd, tabled Jeff Garzik
2009-11-08 18:54 ` Pete Zaitcev
2009-11-08 19:50   ` Jeff Garzik

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.