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: 126,121 of 180,643
Downloads: 4,371

Daily

Ranking: 141,617 of 180,629
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,097,068,755bundler
7897,541,039activesupport
16860,399,527rake
24771,261,281rspec
34543,530,731activerecord
70407,840,404redis
210149,920,911redis-namespace
15,96994,090formatted-metrics

Owners

#GravatarHandle
1iconbmarini