All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Leach <john@brightbox.co.uk>
To: ceph-devel@vger.kernel.org
Subject: desperados: a Ruby library for RADOS
Date: Sun, 23 Jan 2011 18:41:53 +0000	[thread overview]
Message-ID: <1295808113.24826.17.camel@dogen> (raw)

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/


             reply	other threads:[~2011-01-23 18:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-23 18:41 John Leach [this message]
2011-01-23 19:19 ` desperados: a Ruby library for RADOS Wido den Hollander
2011-01-25 10:38   ` John Leach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1295808113.24826.17.camel@dogen \
    --to=john@brightbox.co.uk \
    --cc=ceph-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.