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: 131,017 of 193,214
Downloads: 4,968

Daily

Ranking: 94,007 of 193,188
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,441,039,624bundler
71,354,414,585activesupport
81,330,047,653rake
29983,045,376rspec
36793,912,258activerecord
82558,181,518redis
247204,400,829redis-namespace
17,874103,676formatted-metrics

Owners

#GravatarHandle
1iconbmarini