TLDR · PROGRAMMING, DESIGN & DATA SCIENCE

SALVATORE SANFILIPPO SUBMITTED A PR ADDING A NEW DATA TYPE - ARRAYS - TO REDIS.

simonwillison.net1 min read

Summary from the TLDR newsletter

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.