Re: memcached and redis

2014-03-02 Thread Robin Lery
Hello, Its no bother. Thank you! I have learnt a lot from you guyz! On Sun, Mar 2, 2014 at 5:27 PM, Andreas Kuhne wrote: > Hi, > > I really don't know if they exist. Check redis.io, you should be able to > see them there. > > Regards, > > Andréas > > > 2014-03-01 21:48 GMT+01:00 Robin Lery : > >

Re: memcached and redis

2014-03-02 Thread Andreas Kuhne
Hi, I really don't know if they exist. Check redis.io, you should be able to see them there. Regards, Andréas 2014-03-01 21:48 GMT+01:00 Robin Lery : > Ok, I think I get it now. Thank you so much! Just one more question > though, does redis has feature similar to *getidentifiable()* and > *p

Re: memcached and redis

2014-03-02 Thread Robin Lery
Thank you Andy and Russel! I guess I know a lot about those two cache methods. On Sun, Mar 2, 2014 at 5:23 AM, Andy McKay wrote: > On Sat, Mar 1, 2014 at 12:39 PM, Andreas Kuhne > wrote: > >> The main difference is that you can use redis as a session cache for >> django (save the session objec

Re: memcached and redis

2014-03-01 Thread Andy McKay
On Sat, Mar 1, 2014 at 12:39 PM, Andreas Kuhne wrote: > The main difference is that you can use redis as a session cache for > django (save the session objects to memory instead of the database), which > I haven't found a solution for memcache yet. > Memcache works just fine as a session backend:

Re: memcached and redis

2014-03-01 Thread Russell Keith-Magee
On Sun, Mar 2, 2014 at 4:39 AM, Andreas Kuhne wrote: > Ok, > > Redis and Memcache really solve the same problems. > Erm... no, they don't. They are both in-memory stores, but that's where the similarities ends. Memcache is a simple in-memory cache, and that's it. It's designed to provide you an

Re: memcached and redis

2014-03-01 Thread Robin Lery
Ok, I think I get it now. Thank you so much! Just one more question though, does redis has feature similar to *getidentifiable()* and *putifuntouched() *like memcache, I think these are for consistency? On Sun, Mar 2, 2014 at 2:09 AM, Andreas Kuhne wrote: > Ok, > > Redis and Memcache really solv

Re: memcached and redis

2014-03-01 Thread Andreas Kuhne
Ok, Redis and Memcache really solve the same problems. The main difference is that you can use redis as a session cache for django (save the session objects to memory instead of the database), which I haven't found a solution for memcache yet. Also redis CAN be persisted (saved to disk), if you se

Re: memcached and redis

2014-03-01 Thread Robin Lery
Use cases with memcached and redis please. On Sun, Mar 2, 2014 at 1:45 AM, Andreas Kuhne wrote: > Hi again, > > Do you mean use cases with redis and memcache or with S3? > > Regards, > > Andréas > > 2014-03-01 21:00 GMT+01:00 Robin Lery : > >> Hello, >> Thank you for your answer. Would you pleas

Re: memcached and redis

2014-03-01 Thread Robin Lery
Hello, Thank you for your answer. Would you please elaborate a little more about the use cases with these? And can I use them together? Thank you. On Sun, Mar 2, 2014 at 1:01 AM, Andreas Kuhne wrote: > Hi, > > In response to your question about memcache and redis, they are extremely > useful, i

Re: memcached and redis

2014-03-01 Thread Andreas Kuhne
Hi, In response to your question about memcache and redis, they are extremely useful, if you use them correctly. For example if you are generating a query to your database that takes 1 second to finish, and you cache the results in memcache or redis, then you would be able to get the second reques