Map Redis types directly to Ruby objects

This is not an ORM. People that are wrapping ORM’s around Redis are missing the point.The killer feature of Redis is that it allows you to perform atomic operations on individual data structures, like counters, lists, and sets. The atomic part is HUGE. Using an ORM wrapper that retrieves a "record", updates values, then sends those values back, removes the atomicity, and thus the major advantage of Redis. Just use MySQL, k?This gem provides a Rubyish interface to Redis, by mapping Redis data types to Ruby objects, via a thin layer over the redis gem. It offers several advantages over the lower-level redis-rb API:.
Map Redis types directly to Ruby objects #ruby #rubydeveloper #rubyonrails #redis #types https://rubyonrails.ba/single/map-redis-types-directly-to-ruby-objects

Nezir Zahirovic

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

related articles