Categories: None [Edit]

multirow_counter

https://rubygems.org/gems/multirow_counter
https://github.com/Shopify/multirow_counter
Typically SQL is not a great place to store a counter that is incremented often. For instance if you're counting the number of visits to a page by incrementing a SQL column and that page gets popular then there's a good chance that the SQL counter will become a benchmark. This is because doing an UPDATE on the row in question locks the row during the course of the UPDATE. So for many concurrent UPDATES there will be lots of lock contention. This gem helps with that.

Total

Ranking: 83,086 of 186,947
Downloads: 10,455

Daily

Ranking: 82,265 of 186,938
Downloads: 6

Depended by

RankDownloadsName

Depends on

RankDownloadsName
101,139,345,512rake
151,065,284,090minitest
36704,586,672activerecord
206215,189,315mysql2

Owners

#GravatarHandle
1iconshopify