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,282 of 187,988
Downloads: 4,818
Daily
Ranking: 78,133 of 187,967
Downloads: 1
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,048,429,741 | bundler |
| 7 | 1,227,183,868 | activesupport |
| 10 | 1,178,455,784 | rake |
| 29 | 930,679,140 | rspec |
| 36 | 726,531,445 | activerecord |
| 79 | 517,313,542 | redis |
| 235 | 192,095,465 | redis-namespace |
| 17,274 | 101,004 | formatted-metrics |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | bmarini |