1👍
one way to think about it would be to say it doesn’t matter what state the db is in when nobody is looking at it… in other words you don’t have to update the db after exactly 10 minutes
instead: as each request comes in first check if you are past the limit of the timer, if so then update the db before continuing with the usual view code
Source:stackexchange.com