module DynaModel

Shamelessly stolen from Dynamoid

Shamelessly stolen from Mongoid (and Dynamoid)!

TODO: S3 key schema that allows for timestamp sorting

Persist DynaModel records for a particular model to S3 for extra backup.

The DynamoDB backup model (using EMR to read and write to S3 is not incremental and quickly takes way too long

and defeats the purpose of a backup)

This is not intended to be used for models with high frequency writes but as a way to incrementally backup models that contain mission critical data (although S3 backups are not guarenteed to be durable since you probably want to delay the S3 write to a backround task).

TODO: optimistic locking?

Constants

VERSION

Public Instance Methods

config()
Alias for: configure
configure() { |Config| ... } click to toggle source
# File lib/dyna_model.rb, line 26
def configure
  block_given? ? yield(DynaModel::Config) : DynaModel::Config
end
Also aliased as: config
logger() click to toggle source
# File lib/dyna_model.rb, line 31
def logger
  DynaModel::Config.logger
end