Categories: None [Edit]

capacitor

https://rubygems.org/gems/capacitor
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.

Total

Ranking: 129,911 of 189,654
Downloads: 4,879

Daily

Ranking: 94,537 of 189,628
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,194,011,454bundler
71,279,561,535activesupport
91,238,481,866rake
29951,193,561rspec
36753,992,919activerecord
80534,469,581redis
240197,170,091redis-namespace
17,475102,108formatted-metrics

Owners

#GravatarHandle
1iconbmarini