I'm having the following scheme of my project. Every 4 hours I download some data from source, deserialise it and store to database. At the same time, nearly the whole day round some sort of client retrieve this data from my database.
I would like to have no downtimes while updating the database. I've asked similar question before (Django use two databases for seamless updates), but now I'm learned about caching and think that two databases is real over-engineering.
What is the best option in Django to create caches for database or/and request (I use django-rest-framework
for it)?
I suppose that this question is not opinional at all, I'm just searching for the correct way to perform it in Django.