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: 132,109 of 196,125
Downloads: 5,041

Daily

Ranking: 49,580 of 196,106
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,667,363,143bundler
71,411,726,152activesupport
81,394,381,169rake
291,010,713,264rspec
37826,900,046activerecord
83577,057,441redis
253210,236,852redis-namespace
18,130105,023formatted-metrics

Owners

#GravatarHandle
1iconbmarini