W
W
waltaki2020-11-18 01:22:15
Redis
waltaki, 2020-11-18 01:22:15

What is an adequate maximum Redis key length?

I thought about how to store JWT in Redis (for recall), and realized that the tokens were leaking, so it was logical to remove them from Redis. After reading on the net, I came across a non-recommendation to use long key names. But, see the JWT token is not small (I have ~ 500 bytes).
How adequate is the solution in SET TOKEN "" EX 500?
Are there any good analogues?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question