RubyGems.org

ocean-dynamo

0.6.5

OceanDynamo

OceanDynamo is a massively scalable Amazon DynamoDB near drop-in replacement for ActiveRecord.

As one important use case for OceanDynamo is to facilitate the conversion of SQL databases to no-SQL DynamoDB databases, it is important that the syntax and semantics of OceanDynamo are as close as possible to those of ActiveRecord. This includes callbacks, exceptions and method chaining semantics. OceanDynamo follows this pattern closely and is of course based on ActiveModel.

The attribute and persistence layer of OceanDynamo is modeled on that of ActiveRecord: there's save, save!, create, update, update!, update_attributes, find_each, destroy_all, delete_all and all the other methods you're used to. The design goal is always to implement as much of the ActiveRecord interface as possible, without compromising scalability. This makes the task of switching from SQL to no-SQL much easier.

Thanks to its structural similarity to ActiveRecord, OceanDynamo works with FactoryGirl.

OceanDynamo uses primary indices to retrieve related table items, meaning it scales without limits.

See also Ocean, a Rails framework for creating highly scalable SOAs in the cloud, in which ocean-dynamo is used as a central component: wiki.oceanframework.net

installgem install ocean-dynamo
Authors

Peter Bengtson

22,246 total downloads 84 for this version
Owners

74e21b54f21ba89e663180c3513fe155

Licenses

MIT

Gemfile
gem 'ocean-dynamo', '~> 0.6.5'
Versions
  1. 0.6.5 September 16, 2014 (46.5 KB)
  2. 0.6.4 September 16, 2014 (46.5 KB)
  3. 0.6.2 August 20, 2014 (46.5 KB)
  4. 0.6.1 April 16, 2014 (46.5 KB)
  5. 0.6.0 April 16, 2014 (46.5 KB)
Show all versions (57 total)
Ruby Dependency
  1. >= 0