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: 129,647 of 188,757
Downloads: 4,862
Daily
Ranking: 87,276 of 188,742
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,119,417,231 | bundler |
| 7 | 1,254,855,604 | activesupport |
| 10 | 1,202,260,445 | rake |
| 29 | 941,173,382 | rspec |
| 36 | 740,878,701 | activerecord |
| 80 | 525,444,141 | redis |
| 237 | 194,559,879 | redis-namespace |
| 17,379 | 101,820 | formatted-metrics |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | bmarini |