Last updated by admin 1 year ago
grails install-plugin redis
Last updated by burtbeckwith 6 months ago
NOTE: The old redis plugin has been renamed to
redis-gorm and is part of the grails-data-mapping project (
https://github.com/SpringSource/grails-data-mapping). It now relies on this base redis plugin.
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 project gives grails apps a pooled connection to a Redis instance and provides a number of helper methods and caching/memoization methods that can greatly speed up your application performance.
Full plugin documentation can be found at the github repository:
https://github.com/grails-plugins/grails-redisAn introduction to using redis with groovy is here:
http://naleid.com/blog/2010/12/28/intro-to-using-redis-with-groovy/Ted Naleid gave a presentation at the 2011 gr8conf on redis + groovy + grails:
http://naleid.com/blog/2011/06/27/redis-groovy-and-grails-presentation-at-gr8conf-2011-and-gum/
Last updated by admin 1 year ago
Last updated by admin 1 year ago