Thursday, August 18, 2011

Work in memory instead of BD, how to?

Hi there, I was doing some project recently and faced a problem of
performance.
I need to be able to do a lot of access to some information on the DB,
almost all the time, and doing so seams to be taking too long.

Is it possible do do something like this:
Get the infos from the BD and put them in memory, then when I save() a
model or get()/filter() it will get from the memory.
And from time to time, the memory will update this info in the DB.

If this is possible, then how should I do it?

Using the Cache Framework? Ins't this one just for static files?
Thanks for the help!

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate