RedisJSON 2 Adds Indexing Option |
Written by Kay Ewbank |
Monday, 21 March 2022 |
Redis has introduced RedisJSON 2, an enhanced version of the Redis module that implements the JSON Data Interchange Standard as a native data type. The module can be used to store, update and fetch JSON values from Redis documents. Redis is an open source, BSD licensed, advanced key-value store where the keys can contain strings, hashes, lists, sets and sorted sets. It’s popular for web development as a session state store because of its simplicity and rich data structure support. RedisJSON is a module that provides full support for the JSON standard. It allows documents to be stored as binary data in a tree structure, allowing fast access to sub-elements, and enables typed atomic operations for all JSON values types. The new release adds a number of important features, including native indexing, the ability to create queries, and full-text search support powered by RediSearch. The use of RediSearch means that synchronous indexing support has also been added. RediSearch indexes synchronously, meaning that once an index is created, every write or update operation can be immediately seen in the next query or search operation. The new version also adds support for atomic sub-element updates in memory, based on JSON Data Interchange Format as a native data type. The module is fully supported by most of the main Redis client libraries for languages, including JavaScript, Python, Java, and C#, and can run on the main platforms (Spring, ASP.NET, Node.js, and DJango). Yiftach Shoolman, Co-Founder and CTO at Redis, said that the company has: "reimagined RedisJSON, so companies no longer have to choose between rigid schemas of legacy relational databases and poor performing, disk-based document stores. RedisJSON now offers a powerful in-memory document store with native indexing, querying, and full-text search––all at the speed of Redis––to address all traditional content, catalog, and profile management use cases for a modern document database.” . More InformationRelated ArticlesRedis Adds TimeSeries And AI Support Microsoft Expands Redis Support
To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.
Comments
or email your comment to: comments@i-programmer.info |