4 ms·
Redis is one of the best pieces of software I've used in the past few years. I use it so many ways in production it's loco. Having flexible data structures besi
by beagledude 16y ago
Redis is one of the best pieces of software I've used in the past few years. I use it so many ways in production it's loco. Having flexible data structures besides (string)k, (string)v is a huge boost.
- antirez 16y agoThank you, what is interesting about 2.2 is that we discovered that also operations against the plain old strings can enhance a lot the power of Redis. For instance GETBIT/SETBIT will turn strings into a large bitmap. While GETRANGE/SETRANGE makes users able to use strings as arrays for fixed length data. I think there will be big use cases for this new commands, as it is possible to store a lot of data in little space, with O(1) random access.
- superjared 16y agoThese additions make compact data storage and access much simpler from our perspective. Instead of loading and parsing an entire entry, we have access to just the data we want. Nice work, Salvatore. Seriously.
- riffraff 16y agore SETBIT, I was thinking "cool, redis is now also a bloom filter server!" . Then I realized I've been out of the loop for a while and probably you already implemented commands for that :)
- lucifer 16y agoLua Lua, Salvatore! When?