4 ms·
Thanks for the writeup - I feel like trying redis again just because it opens some interesting possibilities (yes yes could be done in SQL whatever). Regarding
by swah 7y ago
Thanks for the writeup - I feel like trying redis again just because it opens some interesting possibilities (yes yes could be done in SQL whatever).
Regarding "ulog" in your example application, do you keep those lists unbounded? Does this work well in practice?
- fpereiro 7y agoI am consdering to move "ulogs" out of redis and into files because of the potential memory usage - perhaps a hybrid approach where only new logs are in redis would work best. I don't have a definitive solution yet. However, this would be a problem when handling tens of thousands of users or more, which makes it a problem I'd love to have! I'm also considering letting users delete their own history of logins that are older than N days, since it's their data in the end, not mine.