In order to manage the data base size, we again need to retrieve all the key-values, or read them, to after sort all by date, list the older and delete them ? Or periodically check all key-values and delete older than X months by last update date?
And case, if you consider that you have stored the key-value creation/update date in the value it mean that you must : get the number of keys, get the name of keys, read the keys, Json parse the values, and eventually delete a bunch of key-values, and this if you have thousands of players in your experience?! That doesn't mean huge functions calls, resources/memory usage ?
I pain to figure how to manage a disordered data base you can't sort in any way without retrieving all the data, please bring me a light !