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: 133,191 of 197,744
Downloads: 5,067
Daily
Ranking: 41,879 of 197,724
Downloads: 3
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,863,547,421 | bundler |
| 6 | 1,458,386,728 | activesupport |
| 8 | 1,444,561,272 | rake |
| 29 | 1,032,112,907 | rspec |
| 37 | 855,219,427 | activerecord |
| 83 | 591,995,389 | redis |
| 261 | 214,322,845 | redis-namespace |
| 18,351 | 105,362 | formatted-metrics |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | bmarini |