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: 127,297 of 183,477
Downloads: 4,507

Daily

Ranking: 63,432 of 183,470
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,456,134,847bundler
71,004,546,968activesupport
10969,073,546rake
25825,073,950rspec
35604,924,275activerecord
72449,571,697redis
216167,081,742redis-namespace
16,44397,186formatted-metrics

Owners

#GravatarHandle
1iconbmarini