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: 132,974 of 197,085
Downloads: 5,057
Daily
Ranking: 55,182 of 197,066
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,796,160,121 | bundler |
| 7 | 1,443,326,435 | activesupport |
| 8 | 1,428,256,062 | rake |
| 29 | 1,025,379,194 | rspec |
| 37 | 845,746,438 | activerecord |
| 83 | 586,869,473 | redis |
| 257 | 213,031,096 | redis-namespace |
| 18,286 | 105,204 | formatted-metrics |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | bmarini |