It needs to be reimplemented as a heap q to avoid enumerating the whole cache every 10s
It needs to be reimplemented as a heap q to avoid enumerating the whole cache every 10s