Good tutorial on Redis from Simon Willison:

http://simonwillison.net/static/2010/redis-tutorial/

interesting use of it for session data.

On Mar 17, 6:05 pm, mdipierro <[email protected]> wrote:
> You can do this also with cache.disk. You can cache any primitive
> python structure including lists and dicts.
> I am sureredishas richer apis and lots more features than cache.disk
> but still its apis are closer to cache than dbs.
>
> I think we can have a cache.redis(and I will make a patch for it
> although it'd go in contrib) but I see little use for a
> DAL('redis').
>
> Anyway, since we have a MEMDB that store DB in memcache we can make
> that more general and have a DAL('cache.ram'),DAL('cache.disk'),
> DAL('cache.memcache') and DAL('cache.redis'), etc. I will add the
> second to a wishlist for the new dal.
>
> Massimo
>
> On Mar 17, 11:56 am, Kuba Kucharski <[email protected]> wrote:
>
>
>
> > "
> > Values inRediscan be Strings as in a conventional key-value store,
> > but also Lists, Sets, and SortedSets (to be support in version 1.1).
> > This data types allow pushing/poping elements, or adding/removing
> > them, also perform server side union, intersection, difference between
> > sets, and so forth depending on the types.Redissupports different
> > kind of sorting abilities for Sets and Lists.
> > "
>
> > --
> > Kuba


-- 
Subscription settings: http://groups.google.com/group/web2py/subscribe?hl=en

Reply via email to