RubyGems Navigation menu

multirow_counter 0.0.1

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.

Versions:

  1. 0.0.3 - June 23, 2014 (10 KB)
  2. 0.0.2 - July 17, 2012 (5 KB)
  3. 0.0.1 - July 16, 2012 (5 KB)

Runtime Dependencies:

Development Dependencies:

Authors:

  • Jesse Storimer

Owners:

83a9c9496491ad52f6d6b0be9ae4fb3e0c38c5a6ba0cba991e66456e2c3795b7

Total downloads 2,187

For this version 1,038

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'multirow_counter', '~> 0.0.1' = Copy to clipboard Copied!

install:
gem install multirow_counter -v 0.0.1 = Copy to clipboard Copied!

Links: