0

I am developing an api on google appengine django nonrel that will serve a lot of requests. I would like to cache repeated requests. It is estimated that there will be some really frequent queries to the api, and I would like to be able to find out what these queries are on the fly so that I may pre-cache them. Is there a way of getting the most frequent memcache keys?

2 Answers 2

1

Cache everything that might be frequent, and let Memcache's LRU policy evict items that aren't accessed frequently enough to warrant remaining in the cache.

Sign up to request clarification or add additional context in comments.

Comments

0

Presuming you mean "the most frequent datastore queries", appstats is probably what you need.

1 Comment

no, I meant queries to the memcache. I'll correct the question.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.