RubyGems Navigation menu

ocean-dynamo 1.3.0

OceanDynamo

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, read_attribute, write_attribute 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.

OceanDynamo uses only primary indices to retrieve related table items and collections, which means it will scale without limits.

OceanDynamo is fully usable as an ActiveModel and can be used by Rails controllers. Thanks to its structural similarity to ActiveRecord, OceanDynamo works with FactoryGirl.

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

Versions:

  1. 1.3.0 - December 9, 2015 (51.5 KB)
  2. 1.2.4 - September 19, 2015 (51.5 KB)
  3. 1.2.3 - September 19, 2015 (51 KB)
  4. 1.2.2 - September 19, 2015 (51 KB)
  5. 1.2.1 - September 18, 2015 (50 KB)
Show all versions (79 total)

Authors:

  • Peter Bengtson

Owners:

74e21b54f21ba89e663180c3513fe155

SHA 256 checksum:

dbc29e3b1979a79be28a1ab5f20863131f1528170f446c95e470f92e9e1e0927

Total downloads 53,858

For this version 344

Show all versions (79 total)

Gemfile:
= Copy to clipboard Copied!

install:
= Copy to clipboard Copied!

License:

MIT

Required Ruby Version: >= 2.0.0

Links: