ROMA Client for Ruby

Build Status Gem Version Coverage Status

ROMA is one of the data storing systems for distributed key-value stores in Ruby. The gem roma-client is Ruby client to talk with ROMA severs.


Add this line to your application's Gemfile:

  gem 'roma-client'

And then execute:

$ bundle

Or install it yourself as:

$ gem install roma-client


  require 'roma/client'

  nodes = ['host1:11211', 'host2:11211']
  client =

  key = 'key'
  res = client.set(key, 'valie')
  puts "put:#{res}"

  puts "get:#{client.get key}"

  res = client.delete key
  puts "del:#{res}"
  puts "get:#{client.get key}"


  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request


Bug reports and pull requests are welcome on GitHub at This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.


GPL v3

Copyright (C) 2009 Rakuten, Inc.