Hacker News new | ask | show | jobs
by foobiekr 1354 days ago
How many do you retain?
1 comments

Not that many since they only last 10 to 15 minutes so you can just set the TTL to that. Also, you only need to retain the “jti” of the token and not the entire token. So you can hold quite a lot of these jti of tokens even in memory which is what we do. And then after 15 minutes they are ejected from memory.