In the project I need to cache the database data fetched from each request.So that from next time onwards the data(table rows) will be picked from cache instead of db thereby improving performance.In DB i have more than 10M data rows.
I was going through the beaker cache documentation,from which it seems that it will only cache the function along with the arguments as keys.So how this can store the table data which is my main objective?
Or are there any other good database caching modules available in python?
In the project I need to cache the database data fetched from each request.So
Share
FWIW, here’s a simple and fast LRU cache is useful caching the results of DB queries: http://code.activestate.com/recipes/578078