A globally-distributed, eventually-consistent, 100% available key-value store.
Route 53 isn't really a database, but then again, neither is Redis.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install ten34
Creating a database
ten34 create-db route53://my.db
Deleting a database
ten34 delete-db route53://my.db
Setting a key
ten34 put foo bar -d route53://my.db
Setting a key with encryption
ten34 put foo bar -d route53://my.db -e --kms-key-id <AWS_KMS_KEY_ID>
Getting a key
ten34 get foo -d route53://my.db
Deleting a key
ten34 del foo -d route53://my.db
Listing all keys
ten34 keys .+ -d route53://my.db
Listing keys matching a pattern
ten34 keys 'foo*' -d route53://my.db
After checking out the repo, run
bin/setup to install dependencies. Then, run
rake spec to run the tests. You can also run
bin/console for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run
bundle exec rake install. To release a new version, update the version number in
version.rb, and then run
bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the
.gem file to rubygems.org.
Bug reports and pull requests are welcome on GitHub at https://github.com/craftyphotons/ten34. 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.
The gem is available as open source under the terms of the MIT License.
Code of Conduct
Everyone interacting in the ten34 project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.
In addition to the terms of the MIT license, this project and its maintainers shall not be held responsible for costs and repercussions resulting from its use. This includes but is not limited to account closure by your cloud service provider for violating their terms of service and the disappointment of your peers for usage of this project for your actual database.