Categories: None [Edit]
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,779 of 189,104
Downloads: 4,873
Daily
Ranking: 88,565 of 189,083
Downloads: 2
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 1 | 3,155,797,051 | bundler |
| 7 | 1,267,041,510 | activesupport |
| 9 | 1,221,972,098 | rake |
| 29 | 946,005,779 | rspec |
| 36 | 747,347,908 | activerecord |
| 80 | 529,929,424 | redis |
| 238 | 195,829,892 | redis-namespace |
| 17,427 | 102,014 | formatted-metrics |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | bmarini |