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,911 of 189,654
Downloads: 4,879
Daily
Ranking: 94,537 of 189,628
Downloads: 0
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,194,011,454 | bundler |
| 7 | 1,279,561,535 | activesupport |
| 9 | 1,238,481,866 | rake |
| 29 | 951,193,561 | rspec |
| 36 | 753,992,919 | activerecord |
| 80 | 534,469,581 | redis |
| 240 | 197,170,091 | redis-namespace |
| 17,475 | 102,108 | formatted-metrics |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | bmarini |