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,789 of 192,692
Downloads: 4,952
Daily
Ranking: 186,573 of 192,666
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,389,621,074 | bundler |
| 7 | 1,339,865,813 | activesupport |
| 8 | 1,311,002,349 | rake |
| 29 | 976,634,844 | rspec |
| 36 | 786,213,027 | activerecord |
| 82 | 553,493,672 | redis |
| 246 | 202,959,517 | redis-namespace |
| 17,838 | 103,265 | formatted-metrics |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | bmarini |