RubyGems Navigation menu

capacitor 1.0.0

Instead of making ActiveRecord calls to change a counter field, write them to capacitor. They'll get summarized in a redis hash, with a separate process batch-retrieving and writing to ActiveRecord. Being single-threaded, the writing process avoids row lock collisions, and absorbs traffic spikes by coalescing changes to the same row into one DB write.

Gemfile:
=

安装:
=

版本列表:

  1. 1.0.0 September 30, 2013 (11.5 KB)

Runtime 依赖 (3):

Development 依赖 (5):

activerecord ~> 3.2
bundler ~> 1.3
rake >= 0
redis >= 0
rspec >= 0

业主:

作者:

  • Jesse Montrose

SHA 256 校验和:

=

下载总量 4,490

这个版本 4,490

版本发布:

许可:

MIT

需要的 Ruby 版本:

链接: