UPDATED 02:00 EDT / MARCH 15 2022

BIG DATA

Redis ups JSON support and targets document database leaders

Redis Ltd., which sells a commercial version of the in-memory database management system, today announced full support for JavaScript Object Notation with the release of RedisJSON 2.0.

The new version comes with native indexing, querying and full-text search capabilities of JSON documents, bringing it to parity with other file formats that Redis supports.

The announcement pits Redis against other commercial distributors of open-source document databases such as MongoDB Inc. and Couchbase Inc., with Redis claiming superior speed thanks to its indexing and in-memory architecture. The company said document stores with dynamic schemas used by competitors suffer from performance limitations that make them inappropriate for high-volume production environments.

RedisJSON addresses those limitations by combining a JSON-standard in-memory document database with high-availability, multicluster distributed replication and flexible deployment options. The company said its speed makes RedisJSON a low-cost alternative to its competitors despite Redis’ reliance on memory rather than inexpensive disk storage.

JSON is a lightweight data-interchange format that is said to be easy for both humans and machines to read and write. It’s similar to extensible markup language but can be parsed by a standard JavaScript function, whereas XML requires a special parser. JSON is widely used to exchange data between browsers and servers and to structure textual information.

JSON adoption growing

Redis estimates that about 60% of users are working with JSON, “so we decided to invest in that. This is a complete in-memory document database,” said Yiftach Shoolman, Redis’ co-founder and chief technology officer.

Redis has supported JSON all along but without the indexing and query capability. In the new version, “every document you add can immediately be indexed and searched,” Sholman said. The distributed replication, which Redis calls “active-active deployment,” allows data to be queried across multiple locations with sub-millisecond response times.

Shoolman claimed RedisJSON’s throughput is at least 12 times faster than MongoDB’s and read/write/search operations are up to 50 times faster.

MongoDB is considered the market leader in the document DBMS category with a market capitalization of nearly $20 billion. Shoolman said RedisJSON is “not a full replacement for Mongo, but if you need speed, then Redis is good for you.” He called relational databases “rigid” and other document DBMS “heavily dependent on disk.”

Among the features of this release is support for atomic updates, which performs atomic operations on sub-elements in-memory to improve response times. Synchronous indexing updates the index on every write or read so that subsequent search queries reflect the last update.

“If you create an index around the height of a person and you change that height from five feet to six feet, all your queries will make that change without your waiting for the index to update,” Shoolman said. “This is a huge difference from other document databases.”

JSON will also be fully supported by the most popular Redis client libraries for languages — which include JavaScript, Python, Java and C# — and the Spring, ASP.NET, Node.js and DJango platforms.

Photo: Annie Spratt/Unsplash

A message from John Furrier, co-founder of SiliconANGLE:

Your vote of support is important to us and it helps us keep the content FREE.

One click below supports our mission to provide free, deep, and relevant content.  

Join our community on YouTube

Join the community that includes more than 15,000 #CubeAlumni experts, including Amazon.com CEO Andy Jassy, Dell Technologies founder and CEO Michael Dell, Intel CEO Pat Gelsinger, and many more luminaries and experts.

“TheCUBE is an important partner to the industry. You guys really are a part of our events and we really appreciate you coming and I know people appreciate the content you create as well” – Andy Jassy

THANK YOU