Reputation: 1026
I am using mongodb 2.4.6 and python 2.7 .I have frequent executing queries.Is it possible to save the frequent qaueries results in cache.?
Thanks in advance!
Upvotes: 0
Views: 1598
Reputation: 43884
Yes but you will need to make one, how about memcached or redis?
However as a pre-cautionary note, MongoDB does have its recently used data cached to RAM by the OS already so unless you are doing some really resource intensive aggregation query or you are using the results outside of your working set window you might not actually find that it increases performance all that much.
Upvotes: 1