
capacitor
Releases1
Frequency
Last Release
Downloads4.97K
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.
Collections containing this project
Showing collections based on your access.
This project is not in any collections you can view.