'Spring session redis as my session storage

I am looking for an appropriate way to store the session attributes in third-party data storage like redis or mysql, how should I decide which one to pick? What scenario is fitful for using the redis?



Solution 1:[1]

Redis would be better choice with expirations builtin

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 rocky