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: 129,647 of 188,757
Downloads: 4,862

Daily

Ranking: 87,276 of 188,742
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,119,417,231bundler
71,254,855,604activesupport
101,202,260,445rake
29941,173,382rspec
36740,878,701activerecord
80525,444,141redis
237194,559,879redis-namespace
17,379101,820formatted-metrics

Owners

#GravatarHandle
1iconbmarini