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: 130,100 of 190,317
Downloads: 4,891

Daily

Ranking: 141,213 of 190,280
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,240,425,504bundler
71,293,977,679activesupport
81,255,248,311rake
29957,358,331rspec
36761,692,300activerecord
80539,612,944redis
241198,724,967redis-namespace
17,530102,404formatted-metrics

Owners

#GravatarHandle
1iconbmarini