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,455 of 196,721
Downloads: 5,042
Daily
Ranking: 58,818 of 196,694
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,728,237,794 | bundler |
| 7 | 1,426,725,582 | activesupport |
| 8 | 1,410,641,125 | rake |
| 29 | 1,017,967,488 | rspec |
| 37 | 835,846,227 | activerecord |
| 83 | 581,755,037 | redis |
| 255 | 211,617,170 | redis-namespace |
| 18,202 | 105,047 | formatted-metrics |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | bmarini |