RubyGems Navigation menu

ocean-dynamo 0.3.12

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 based ActiveRecord models to DynamoDB based models, it is important that the syntax and semantics of OceanDynamo’s operations are as close as possible to those of ActiveRecord, including callbacks, exceptions and support methods. Ocean-dynamo 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, and all the other methods you’re used to. The design goal is always to implement as much as possible of the ActiveRecord interface, without sacrificing 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. To facilitate testing, future versions will keep track of and delete instances after tests.

OceanDynamo uses primary indices to retrieve related table items, which means it will scale 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

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 1.9.1 - October 12, 2018 (51.0 KB)
  2. 1.9.0 - October 12, 2018 (51.0 KB)
  3. 1.8.2 - October 09, 2018 (51.0 KB)
  4. 1.8.1 - September 02, 2018 (51.0 KB)
  5. 1.8.0 - September 02, 2018 (51.0 KB)
  6. 0.3.12 - September 16, 2013 (22.5 KB)
显示所有版本 (共 90 个)

Runtime 依赖 (3):

activemodel ~> 4.0
activesupport ~> 4.0
aws-sdk ~> 1.0

Development 依赖 (6):

fake_dynamo ~> 0.1.3
rails ~> 4.0
simplecov >= 0
sqlite3 >= 0

业主:

作者:

  • Peter Bengtson

SHA 256 校验和:

e1b9c5592b5b22f162db62459be9f54efd703a0562e94d6f4510acb674895dd9

下载总量 223,919

这个版本 2,570

许可:

MIT

需要的 Ruby 版本: >= 2.0.0

链接: