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: 132,109 of 196,125
Downloads: 5,041
Daily
Ranking: 49,580 of 196,106
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,667,363,143 | bundler |
| 7 | 1,411,726,152 | activesupport |
| 8 | 1,394,381,169 | rake |
| 29 | 1,010,713,264 | rspec |
| 37 | 826,900,046 | activerecord |
| 83 | 577,057,441 | redis |
| 253 | 210,236,852 | redis-namespace |
| 18,130 | 105,023 | formatted-metrics |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | bmarini |