| ▲ | olavgg an hour ago |
| But that is his point.
If you cannot find the session id in redis, you login again.
If your Redis server crash, you start a new one and everyone just login again. No data is lost. |
|
| ▲ | 9dev an hour ago | parent [-] |
| Sure the data is lost. A session commonly holds arbitrary state, and even if it’s just the login information. This is ridiculous. |
| |
| ▲ | trumpdong 22 minutes ago | parent [-] | | If you consider it important, you have to store it in a real database. No buts. If you don't consider it important, sharded redis works fine. | | |
| ▲ | 9dev 16 minutes ago | parent [-] | | Redis is a real database. If I wasn’t convinced it could retain data I hand it, I wouldn’t use it in the first place. Just because it works for your use case right now doesn’t mean there isn’t room for improvements to support others too. |
|
|