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,928 of 197,051
Downloads: 5,056
Daily
Ranking: 67,605 of 197,010
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,792,501,566 | bundler |
| 7 | 1,442,365,801 | activesupport |
| 8 | 1,427,168,861 | rake |
| 29 | 1,024,975,886 | rspec |
| 37 | 845,130,767 | activerecord |
| 83 | 586,617,445 | redis |
| 256 | 212,963,803 | redis-namespace |
| 18,279 | 105,202 | formatted-metrics |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | bmarini |