I am developing an application using Bottle. In my registration form, I confirm email by email with a unique key. I save this key in REDIS after 4 days. If the user does not confirm the email within 4 days, the key has expired. for this, I want to permanently delete the user record from my database (mongoDB).
Of course, I do not require continuous polling of my redis server to check for a key or not.
Is there a way to get a callback from Redis?
OR is there any other effective way?
python bottle redis
Kartik rokde
source share