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: 130,296 of 191,483
Downloads: 4,907
Daily
Ranking: 140,423 of 191,454
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,294,095,825 | bundler |
| 7 | 1,311,046,337 | activesupport |
| 8 | 1,274,245,981 | rake |
| 29 | 964,633,797 | rspec |
| 36 | 770,906,816 | activerecord |
| 80 | 545,064,939 | redis |
| 241 | 200,317,703 | redis-namespace |
| 17,593 | 102,627 | formatted-metrics |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | bmarini |