RubyGems Navigation menu

capacitor 1.0.0

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.

Gemfile:
=

installieren:
=

Versionen:

  1. 1.0.0 September 30, 2013 (11,5 KB)

Runtime Abhängigkeiten (3):

Development Abhängigkeiten (5):

activerecord ~> 3.2
bundler ~> 1.3
rake >= 0
redis >= 0
rspec >= 0

Besitzer:

Autoren:

  • Jesse Montrose

SHA 256-Prüfsumme:

=

Downloads insgesamt 4.488

Für diese Version 4.488

Version veröffentlicht:

Lizenz:

MIT

Erforderliche Ruby-Version: None

Links: