RubyGems Navigation menu

ocean-dynamo 0.1.9

OceanDynamo

This is the OceanDynamo ruby gem, implementing a highly 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. This means that all callbacks should be available, before, around and after, and that they should be called in the same order as in ActiveRecord. 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_attribute 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.

OceanDynamo will use secondary indices to retrieve related table items, which means it will scale without limits. (NB: this is a pre-release which as yet doesn’t implement relations, but they are underway.)

Due to its similarity to ActiveRecord, OceanDynamo works with FactoryGirl. Furthermore, future versions will keep track of and delete instances after tests.

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 (51KB)
  2. 1.9.0 - October 12, 2018 (51KB)
  3. 1.8.2 - October 09, 2018 (51KB)
  4. 1.8.1 - September 02, 2018 (51KB)
  5. 1.8.0 - September 02, 2018 (51KB)
  6. 0.1.9 - September 09, 2013 (11KB)
全てのバージョンを表示(全90件)

Runtime依存関係 (1):

aws-sdk ~> 1.0

Development依存関係 (6):

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

所有者:

作者:

  • Peter Bengtson

SHA 256チェックサム:

2a64bc84208700a6ebbb1872b905d525f3150e56aa95e820f04de83196fa6560

累計ダウンロード数 222,913

このバージョンのみ 2,595

ライセンス:

MIT

必要なRubyのバージョン: >= 2.0.0

リンク: