RubyGems Navigation menu

opt_ar 1.1.0

Generates memory-optimal immutable ActiveRecord dupes that are easily serializable and behaves much like ARs. Define required attributes before-hand and use them just as you would on an AR, for better memory optimization. Ideally, suitable in place of caching AR objects with cache stores like Memcached, where serialization and de-serialization are memory-hungry. Optars can save upto 90% of your memory(object allocations), while being upto 20x faster, when fetching huge AR results.

Gemfile:
=

install:
=

Versions:

  1. 1.1.0 May 20, 2019 (18.5 KB)
  2. 1.0.1 May 04, 2019 (12.5 KB)
  3. 1.0.0 May 01, 2019 (11 KB)

Runtime Dependencies (2):

activerecord >= 3.2
mysql2 >= 0.3

Development Dependencies (3):

bundler ~> 1.16
minitest ~> 5.0
rake ~> 10.0

Owners:

Authors:

  • ragav0102

SHA 256 checksum:

=

Total downloads 6,633

For this version 2,789

Version Released:

License:

MIT

Required Ruby Version: >= 0

Links: