RubyGems Navigation menu

ocean-dynamo 1.9.1

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 FactoryBot.

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)
顯示所有版本(共 90)

Runtime 相依性套件 (3):

activemodel ~> 5.0.0
activesupport ~> 5.0.0

Development 相依性套件 (6):

rails ~> 5.0.0
simplecov >= 0
sqlite3 >= 0

擁有者:

作者:

  • Peter Bengtson

SHA 256 總和檢查碼:

=

總下載次數 229,479

這個版本 2,165

版本发布:

授權:

Apache-2.0

Ruby 版本需求: >= 2.0.0

相關連結: