Categories: None [Edit]
ocean-dynamo
== 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: http://wiki.oceanframework.net
Total
Ranking: 10,328 of 183,539
Downloads: 230,234
Daily
Ranking: 80,049 of 183,521
Downloads: 1
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
6,464 | 621,814 | ocean-rails |
Depends on
Rank | Downloads | Name |
---|---|---|
7 | 1,002,752,031 | activesupport |
33 | 631,802,880 | activemodel |
41 | 572,370,573 | rails |
98 | 353,147,236 | simplecov |
116 | 298,849,112 | rspec-rails |
182 | 201,214,831 | factory_bot_rails |
240 | 151,784,103 | aws-sdk-dynamodb |
256 | 142,938,532 | sqlite3 |
6,464 | 621,814 | ocean-rails |
Owners
# | Gravatar | Handle |
---|---|---|
1 | peterbengtson |