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,928 of 197,051
Downloads: 5,056

Daily

Ranking: 67,605 of 197,010
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,792,501,566bundler
71,442,365,801activesupport
81,427,168,861rake
291,024,975,886rspec
37845,130,767activerecord
83586,617,445redis
256212,963,803redis-namespace
18,279105,202formatted-metrics

Owners

#GravatarHandle
1iconbmarini