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

87849d1eae3eb7bbbcf2e7f565be1c52c60cd30d2cc9f927b63bd47b90cf216a

總下載次數 4,372

這個版本 4,372

License:

MIT

Ruby 版本需求:

相關連結: