Re: sort cache

2013-01-08 Thread psychok7
hi there. redis does seem like a better solution than the cache. i need redis (or the cache) because of performance reasons. i know they are faster for the insert and retrieve that i need in a FIFO order. Found this http://rediscookbook.org/implement_a_fifo_queue.html and it seems it will do th

Re: sort cache

2013-01-08 Thread Amirouche
Héllo psychok7, On Tuesday, January 8, 2013 1:45:07 PM UTC+1, psychok7 wrote: > > Hi guys, just wondering if its possible to sort a django cache? I need to > add data with an auto increment id to the cache and sort it in reverse > order to get it back. I no this can be easily accomplished with t

sort cache

2013-01-08 Thread psychok7
Hi guys, just wondering if its possible to sort a django cache? I need to add data with an auto increment id to the cache and sort it in reverse order to get it back. I no this can be easily accomplished with the normal mysql database but since the cache is faster i would like to do it there th