RubyGems Navigation menu

syncache 1.2

SynCache stores cached objects in a Hash that is protected by an advanced two-level locking mechanism which ensures that: * Multiple threads can add and fetch objects in parallel. * While one thread is working on a cache entry, other threads can access the rest of the cache with no waiting on the global lock, no race conditions nor deadlock or livelock situations. * While one thread is performing a long and resource-intensive operation, other threads that request the same data will be put on hold, and as soon as the first thread completes the operation, the result will be returned to all threads.

Versions:

  1. 1.2 - October 13, 2012 (31.5 KB)
  2. 1.0.0 - May 6, 2010 (10.5 KB)

Authors:

  • Dmitry Borodaenko

Owners:

2f9ac68b6f4cb81ec8c9ea2219ce4059D1a58c46532900ba65fd439e64527ef4

Total downloads 3,210

For this version 1,002

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'syncache', '~> 1.2' = Copy to clipboard Copied!

install:
gem install syncache = Copy to clipboard Copied!

Links: