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,100 of 190,317
Downloads: 4,891
Daily
Ranking: 141,213 of 190,280
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,240,425,504 | bundler |
| 7 | 1,293,977,679 | activesupport |
| 8 | 1,255,248,311 | rake |
| 29 | 957,358,331 | rspec |
| 36 | 761,692,300 | activerecord |
| 80 | 539,612,944 | redis |
| 241 | 198,724,967 | redis-namespace |
| 17,530 | 102,404 | formatted-metrics |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | bmarini |