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,296 of 191,483
Downloads: 4,907

Daily

Ranking: 140,423 of 191,454
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,294,095,825bundler
71,311,046,337activesupport
81,274,245,981rake
29964,633,797rspec
36770,906,816activerecord
80545,064,939redis
241200,317,703redis-namespace
17,593102,627formatted-metrics

Owners

#GravatarHandle
1iconbmarini