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: 133,629 of 199,228
Downloads: 5,119
Daily
Ranking: 163,103 of 199,184
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 | 4,015,435,206 | bundler |
| 6 | 1,493,482,686 | activesupport |
| 7 | 1,480,270,976 | rake |
| 29 | 1,048,421,257 | rspec |
| 37 | 876,949,277 | activerecord |
| 83 | 603,803,648 | redis |
| 265 | 217,420,064 | redis-namespace |
| 18,500 | 106,022 | formatted-metrics |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | bmarini |