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:
=

安装:
=

版本列表:

  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.0 KB)

Runtime 依赖 (2):

activerecord >= 3.2
mysql2 >= 0.3

Development 依赖 (3):

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

所有者:

作者:

  • ragav0102

SHA 256 校验和:

=

下载总量 6,633

这个版本 2,789

版本发布:

许可:

MIT

需要的 Ruby 版本: >= 0

链接: