Solid Cache

We’ve just open-sourced Solid Cache, a new ActiveRecord::Cache::Store that we use in Basecamp and HEY.Solid Cache uses a SQL database as its cache store. We get a much larger cache at a fraction of the storage costs of memory caches like Redis or Memcached. For us, that’s a cache size of months rather than days.While memory access is many times faster than disk, it only accounts for a fraction of cache operation time — there’s also network time, serialization and compression.In any case, usually we won’t need to go to disk, as databases contain built-in memory caches.
Solid Cache #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/solid-cache

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles