desperados: a Ruby library for RADOS

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

 



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/

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


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux