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,555 of 192,137
Downloads: 4,933
Daily
Ranking: 59,666 of 192,103
Downloads: 2
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,342,103,677 | bundler |
| 7 | 1,325,511,824 | activesupport |
| 8 | 1,292,456,495 | rake |
| 29 | 970,934,436 | rspec |
| 36 | 778,810,251 | activerecord |
| 82 | 549,362,367 | redis |
| 242 | 201,676,183 | redis-namespace |
| 17,774 | 102,907 | formatted-metrics |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | bmarini |