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: 133,629 of 199,228
Downloads: 5,119

Daily

Ranking: 163,103 of 199,184
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
14,015,435,206bundler
61,493,482,686activesupport
71,480,270,976rake
291,048,421,257rspec
37876,949,277activerecord
83603,803,648redis
265217,420,064redis-namespace
18,500106,022formatted-metrics

Owners

#GravatarHandle
1iconbmarini