3 ms·
I rather like redis, once you get the hang of doing things in that way, and if you plan your system so that you know what ways you're going to access your data
by antihero 15y ago
I rather like redis, once you get the hang of doing things in that way, and if you plan your system so that you know what ways you're going to access your data in advance, it's really not a problem. Besides, say you want to get a list of "events" by date, you can regenerate the index, or do the sorting within the app.
- MatthewPhillips 15y agoI'm new to Redis and my approach to this problem has been to create a Sorted Set with the "score" being the date represented as an integer (in JS it's getTime()).