TLDR Tech / Dev
Salvatore Sanfilippo submitted a PR adding a new data type - arrays - to Redis.
Redis has been missing a real indexed data structure for situations where the index and the spatial relationship of elements are semantic. Arrays handle index-first requirements natively, and usually with much better memory and CPU usage than the workarounds. They also often provide much better space, time, and usability at the same time. This article links to an interactive playground for trying out the new commands in the recently submitted PR for Arrays in Redis.
Read the full story