1

I have queries result from Postgresql which I want to be cached. I can't use external soft like memcached. How I can do it with python with standard library? Or may be with third party python module.

1 Answer 1

1

If you want to use a 3rd party library you could take a look at dogpile.cache. It will allow you to cache things like data from SQL databases in memory, and in addition you can choose from different backends. This is good in case you want to use something more scalable in the future.

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

Comments

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.