Redis GORM

  • Tags : /
  • Latest : 1.0.0.M8
  • Last Updated: 15 December 2011
  • Grails version : 1.3.4 > *
1 vote
Dependency :
compile ":redis-gorm:1.0.0.M8"

Documentation Source Issues


A plugin that integrates the Redis key/value datastore into Grails, providing a GORM-like API onto it


grails install-plugin redis-gorm


Currently this plugin only works in Grails >= 2.0 (as of Jan 2012)

Redis is an advanced key-value NoSQL data store. It is similar to memcached except the dataset is not volatile. Like memcached, Redis can store string values, but it can also store lists, sets, and ordered sets. All these data types can be manipulated with atomic operations that push, pop, add and remove elements, perform server side union, intersection, difference between sets, and more. Redis also supports different kinds of sorting.

This plugin provides a GORM like API to Redis. If you are looking for lower level access to Redis then checkout the Redis plugin

This project aims to provide an object-mapping layer on top of Redis to ease common activities such as:

  • Marshalling from Redis hashes to Groovy/Java types and back again
  • Support for GORM dynamic finders, criteria and named queries
  • Session-managed transactions
  • Validating domain instances backed by the Redis datastore
Further documentation on this plugin can be found here

Sources can be found at Github