Rubygems | Latest Versions for multirow_counterhttps://rubygems.org/gems2023-09-29T18:36:31Zmultirow_counter (0.0.3)https://rubygems.org/gems/multirow_counter/versions/0.0.32014-06-23T21:10:15ZJesse StorimerEncapsulates a multi-row counter for SQL.
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. multirow_counter (0.0.2)https://rubygems.org/gems/multirow_counter/versions/0.0.22012-07-17T21:00:44ZJesse StorimerEncapsulates a multi-row counter for SQL.
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. multirow_counter (0.0.1)https://rubygems.org/gems/multirow_counter/versions/0.0.12012-07-16T22:01:25ZJesse StorimerEncapsulates a multi-row counter for SQL.
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.