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,339 of 188,294
Downloads: 4,845
Daily
Ranking: 58,073 of 188,277
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,083,534,422 | bundler |
| 7 | 1,240,603,538 | activesupport |
| 10 | 1,189,977,978 | rake |
| 29 | 935,905,765 | rspec |
| 36 | 733,355,668 | activerecord |
| 79 | 520,893,359 | redis |
| 236 | 193,267,211 | redis-namespace |
| 17,316 | 101,345 | formatted-metrics |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | bmarini |