All of lore.kernel.org
 help / color / mirror / Atom feed
* desperados: a Ruby library for RADOS
@ 2011-01-23 18:41 John Leach
  2011-01-23 19:19 ` Wido den Hollander
  0 siblings, 1 reply; 3+ messages in thread
From: John Leach @ 2011-01-23 18:41 UTC (permalink / raw)
  To: ceph-devel

Hi all,

I've just made the first release of my RADOS Ruby library, desperados.

It's dead easy to use:

  pool = Rados::Pool.create("mypool")
  o = pool.objects.new("mykey")
  o.write("Once upon")
  o.write(" a time")
  o.seek(0)
  o.read == "Once upon a time"
  o = pool.objects.find("mykey")
  o.seek(5)
  o.read == "upon a time"

I've been using it to read and write thousands of pool and millions of
objects whilst load testing ceph and it's behaved well.

Behind the scenes it just uses librados (via the Ruby FFI).

The code is on github: https://github.com/johnl/desperados

Documentation here: http://rdoc.info/gems/desperados/0.1/frames

And there is a gem available: https://rubygems.org/gems/desperados

You can file bugs or feature requests on github too:
https://github.com/johnl/desperados/issues

Bug reports and contributions are welcomed!

Thanks,

John.
--
http://beta.brightbox.com/


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

end of thread, other threads:[~2011-01-25 10:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-23 18:41 desperados: a Ruby library for RADOS John Leach
2011-01-23 19:19 ` Wido den Hollander
2011-01-25 10:38   ` John Leach

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.