Redis with mongodb in Django Application

157 views
Skip to first unread message

Ketul Suthar

unread,
Sep 5, 2014, 12:19:20 AM9/5/14
to redi...@googlegroups.com
Jul 9
Had anyone worked on integrating Redis & Mongodb (Redis as Key/Value Store and Mongodb as Persistence store).

Basically using the Redis as Cache and using Mongodb for permanent data store.

Please suggest steps/configuration needed in using Redis as Key/Value Store and Mongodb as Persistence

Thanks

Josiah Carlson

unread,
Sep 5, 2014, 4:39:43 PM9/5/14
to redi...@googlegroups.com
As far as I know, there is no "put this configuration in file X and Redis will automatically cache data in MongoDB" for Django (or any other Python web framework). Which means that you are going to need to build the pieces to handle caching of whatever data you want to cache. You will need to define your cache expiration policies, your method of encoding data stored in Redis, how you name your keys, where you are going to be doing your caching, etc.

 - Josiah


--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at http://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages