Redis Adds Array Data Type with New Commands and WebAssembly Playground
Test the Redis Array Playground to evaluate the new ARSCAN, ARSEEK, and ARSET commands.
Explore the Redis Array Playground to assess how array data types could improve caching or data handling in our WordPress stack.
Summary
Salvatore Sanfilippo has added a new data type called arrays to Redis, as part of PR #15162. The change introduces three new commands—ARSAN, ARSEEK, and ARSET—to manipulate array elements. The implementation lives in a dedicated branch and is not yet merged into the main Redis release. Simon Willison built an interactive playground that compiles a subset of Redis to WebAssembly, allowing developers to experiment with the new commands directly in the browser.
The playground was created with Claude Code for web, showcasing an AI‑assisted development workflow. Users can construct array queries using a UI that supports predicates, match filters, and options like AND, OR, LIMIT, WITHVALUES, and NOCASE. The article also references a short story on the development of the array type, detailing the agentic engineering process. This tool demonstrates how generative AI can accelerate feature implementation in open‑source projects.
Key changes
- New Redis data type "arrays" added via PR #15162
- Three new commands: ARSCAN, ARSEEK, ARSET for array manipulation
- Implementation resides in a separate branch, not yet merged into mainline
- Interactive playground built with WebAssembly for in-browser testing
- Playground UI supports predicates, match filters, AND/OR, LIMIT, WITHVALUES, NOCASE options
- Development leveraged Claude Code for web, illustrating AI‑assisted feature creation