I heared of the story that one programmer of China executed the command 'keys *' on production and ther server stopped offer service for multi hours, because there are so many keys and the server can not handle these. So it went down.
In order to avoid this problem occur in my new web project, I tried using hashmap data structure instead of string data structure. But things turns out to be disappointed thad I can not set expiration times for keys of hash map object.Can you guys add this function or property. I would appreciate it if you have a more excellent ideas to solve this.Thank you.